mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
RecentsDataSource: Handle key verification setup banner.
This commit is contained in:
@@ -41,6 +41,15 @@ typedef NS_ENUM(NSInteger, SecureBackupBannerDisplay)
|
||||
SecureBackupBannerDisplaySetup
|
||||
};
|
||||
|
||||
/**
|
||||
List the different key verification banners that could be displayed.
|
||||
*/
|
||||
typedef NS_ENUM(NSInteger, KeyVerificationBannerDisplay)
|
||||
{
|
||||
KeyVerificationBannerDisplayNone,
|
||||
KeyVerificationBannerDisplaySetup
|
||||
};
|
||||
|
||||
/**
|
||||
Action identifier used when the user tapped on the directory change button.
|
||||
|
||||
@@ -54,6 +63,7 @@ extern NSString *const kRecentsDataSourceTapOnDirectoryServerChange;
|
||||
*/
|
||||
@interface RecentsDataSource : MXKInterleavedRecentsDataSource
|
||||
|
||||
@property (nonatomic) NSInteger keyVerificationBannerSection;
|
||||
@property (nonatomic) NSInteger secureBackupBannerSection;
|
||||
@property (nonatomic) NSInteger directorySection;
|
||||
@property (nonatomic) NSInteger invitesSection;
|
||||
@@ -71,6 +81,7 @@ extern NSString *const kRecentsDataSourceTapOnDirectoryServerChange;
|
||||
@property (nonatomic, readonly) NSArray* serverNoticeCellDataArray;
|
||||
|
||||
@property (nonatomic, readonly) SecureBackupBannerDisplay secureBackupBannerDisplay;
|
||||
@property (nonatomic, readonly) KeyVerificationBannerDisplay keyVerificationBannerDisplay;
|
||||
|
||||
/**
|
||||
Set the delegate by specifying the selected display mode.
|
||||
|
||||
Reference in New Issue
Block a user