mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 08:32:53 +02:00
Add objective C support to SwiftGen assets helpers (#5533)
* Add objective C support to SwiftGen assets helpers * Use dot notation in ObjC & fix minor issues Co-authored-by: Arnaud Ringenbach <arnaud.ringenbach@niji.fr>
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
case MXDeviceUnknown:
|
||||
case MXDeviceUnverified:
|
||||
{
|
||||
self.deviceStatus.image = [UIImage imageNamed:@"e2e_warning"];
|
||||
self.deviceStatus.image = AssetImages.e2eWarning.image;
|
||||
|
||||
[_verifyButton setTitle:[MatrixKitL10n roomEventEncryptionInfoVerify] forState:UIControlStateNormal];
|
||||
[_verifyButton setTitle:[MatrixKitL10n roomEventEncryptionInfoVerify] forState:UIControlStateHighlighted];
|
||||
@@ -65,7 +65,7 @@
|
||||
}
|
||||
case MXDeviceVerified:
|
||||
{
|
||||
self.deviceStatus.image = [UIImage imageNamed:@"e2e_verified"];
|
||||
self.deviceStatus.image = AssetSharedImages.e2eVerified.image;
|
||||
|
||||
[_verifyButton setTitle:[MatrixKitL10n roomEventEncryptionInfoUnverify] forState:UIControlStateNormal];
|
||||
[_verifyButton setTitle:[MatrixKitL10n roomEventEncryptionInfoUnverify] forState:UIControlStateHighlighted];
|
||||
@@ -76,7 +76,7 @@
|
||||
}
|
||||
case MXDeviceBlocked:
|
||||
{
|
||||
self.deviceStatus.image = [UIImage imageNamed:@"e2e_blocked"];
|
||||
self.deviceStatus.image = AssetImages.e2eBlocked.image;
|
||||
|
||||
[_verifyButton setTitle:[MatrixKitL10n roomEventEncryptionInfoVerify] forState:UIControlStateNormal];
|
||||
[_verifyButton setTitle:[MatrixKitL10n roomEventEncryptionInfoVerify] forState:UIControlStateHighlighted];
|
||||
|
||||
Reference in New Issue
Block a user