房间更多操作按钮
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
#import "XPRoomSendTextView.h"
|
||||
#import "XPSendGiftView.h"
|
||||
#import "SessionListViewController.h"
|
||||
|
||||
#import "XPRoomMoreMenuViewController.h"
|
||||
|
||||
|
||||
@interface XPRoomMenuContainerView ()
|
||||
@@ -93,6 +93,12 @@
|
||||
SessionListViewController * sessionList = [[SessionListViewController alloc] initWithType:SessionListOpenTypeRoom];
|
||||
[self.delegate.getCurrentNav pushViewController:sessionList animated:YES];
|
||||
}
|
||||
break;
|
||||
case XPRoomMenuItemType_More: {
|
||||
XPRoomMoreMenuViewController * moreMenuVC = [[XPRoomMoreMenuViewController alloc] initDelegate:self.delegate];
|
||||
[TTPopup popupView:moreMenuVC.view style:TTPopupStyleActionSheet];
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@@ -241,7 +247,6 @@
|
||||
[_moreButton setImage:[UIImage imageNamed:@"room_menu_more"] forState:UIControlStateSelected];
|
||||
_moreButton.tag = XPRoomMenuItemType_More;
|
||||
[_moreButton addTarget:self action:@selector(menuButtonAction:) forControlEvents:UIControlEventTouchUpInside];
|
||||
_moreButton.hidden = YES;
|
||||
}
|
||||
return _moreButton;
|
||||
}
|
||||
|
Reference in New Issue
Block a user