mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
MESSENGER-3352 build settings
This commit is contained in:
@@ -386,7 +386,7 @@ enum {
|
||||
cell.imageView.image = AssetImages.encryptionWarning.image;
|
||||
}
|
||||
|
||||
if (BuildSettings.bwiDisableSecuritySettingsUntrustedDevices && !deviceInfo.trustLevel.isVerified) {
|
||||
if (BWIBuildSettings.shared.bwiDisableSecuritySettingsUntrustedDevices && !deviceInfo.trustLevel.isVerified) {
|
||||
cell.accessoryType = UITableViewCellAccessoryNone;
|
||||
} else {
|
||||
[cell vc_setAccessoryDisclosureIndicatorWithCurrentTheme];
|
||||
@@ -552,7 +552,7 @@ enum {
|
||||
}
|
||||
|
||||
- (NSIndexPath *)tableView:(UITableView *)tableView willSelectRowAtIndexPath:(NSIndexPath *)indexPath {
|
||||
if (BuildSettings.bwiDisableSecuritySettingsUntrustedDevices) {
|
||||
if (BWIBuildSettings.shared.bwiDisableSecuritySettingsUntrustedDevices) {
|
||||
if (indexPath.section == SECTION_SESSION_INFO && indexPath.row == SESSION_INFO_TRUST) {
|
||||
NSString *deviceId = device.deviceId;
|
||||
MXDeviceInfo *deviceInfo = [self.mainSession.crypto deviceWithDeviceId:deviceId ofUser:self.mainSession.myUser.userId];
|
||||
|
||||
Reference in New Issue
Block a user