mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
Handle key backup setup banner display
This commit is contained in:
@@ -32,6 +32,15 @@ typedef enum : NSUInteger
|
||||
|
||||
} RecentsDataSourceMode;
|
||||
|
||||
/**
|
||||
List the different key backup banners that could be displayed.
|
||||
*/
|
||||
typedef NS_ENUM(NSInteger, KeyBackupBanner)
|
||||
{
|
||||
KeyBackupBannerNone,
|
||||
KeyBackupBannerSetup,
|
||||
KeyBackupBannerRecover
|
||||
};
|
||||
|
||||
/**
|
||||
Action identifier used when the user tapped on the directory change button.
|
||||
@@ -46,6 +55,7 @@ extern NSString *const kRecentsDataSourceTapOnDirectoryServerChange;
|
||||
*/
|
||||
@interface RecentsDataSource : MXKInterleavedRecentsDataSource
|
||||
|
||||
@property (nonatomic) NSInteger keyBackupBannerSection;
|
||||
@property (nonatomic) NSInteger directorySection;
|
||||
@property (nonatomic) NSInteger invitesSection;
|
||||
@property (nonatomic) NSInteger favoritesSection;
|
||||
@@ -61,6 +71,8 @@ extern NSString *const kRecentsDataSourceTapOnDirectoryServerChange;
|
||||
@property (nonatomic, readonly) NSArray* lowPriorityCellDataArray;
|
||||
@property (nonatomic, readonly) NSArray* serverNoticeCellDataArray;
|
||||
|
||||
@property (nonatomic, readonly) KeyBackupBanner keyBackupBanner;
|
||||
|
||||
/**
|
||||
Set the delegate by specifying the selected display mode.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user