mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-27 19:56:57 +02:00
UX Rework: Add home page
- Add edition mode support. https://github.com/vector-im/riot-meta/issues/75
This commit is contained in:
@@ -20,6 +20,11 @@
|
||||
@interface RecentsViewController : MXKRecentListViewController <MXKRecentListViewControllerDelegate>
|
||||
{
|
||||
@protected
|
||||
/**
|
||||
The room identifier related to the cell which is in editing mode (if any).
|
||||
*/
|
||||
NSString *editedRoomId;
|
||||
|
||||
/**
|
||||
The image view of the (+) button.
|
||||
*/
|
||||
@@ -106,6 +111,12 @@
|
||||
*/
|
||||
- (void)refreshCurrentSelectedCell:(BOOL)forceVisible;
|
||||
|
||||
/**
|
||||
Leave the edition mode
|
||||
|
||||
@param forceRefresh force table view refresh
|
||||
*/
|
||||
- (void)cancelEditionMode:(BOOL)forceRefresh;
|
||||
|
||||
#pragma mark - Room handling
|
||||
/**
|
||||
@@ -129,6 +140,33 @@
|
||||
*/
|
||||
- (void)joinARoom;
|
||||
|
||||
/**
|
||||
Leave the selected room.
|
||||
*/
|
||||
- (void)leaveEditedRoom;
|
||||
|
||||
/**
|
||||
Update the selected room tag.
|
||||
*/
|
||||
- (void)updateEditedRoomTag:(NSString*)tag;
|
||||
|
||||
/**
|
||||
Enable/disable the direct flag of the selected room.
|
||||
*/
|
||||
- (void)makeDirectEditedRoom:(BOOL)isDirect;
|
||||
|
||||
/**
|
||||
Enable/disable the notifications for the selected room.
|
||||
*/
|
||||
- (void)muteEditedRoomNotifications:(BOOL)mute;
|
||||
|
||||
#pragma mark - Scrolling
|
||||
|
||||
/**
|
||||
Scroll to the top of the recents list.
|
||||
*/
|
||||
- (void)scrollToTop:(BOOL)animated;
|
||||
|
||||
/**
|
||||
Scroll the next room with missed notifications to the top.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user