mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 22:26:59 +02:00
Enhancement - Encryption device information:
Hide the Verify and Block buttons when the device is the current one.
This commit is contained in:
@@ -195,8 +195,8 @@ static NSAttributedString *verticalWhitespace = nil;
|
||||
NSMutableAttributedString *verification;
|
||||
NSString *fingerprint = deviceInfo.fingerprint;
|
||||
|
||||
_verifyButton.hidden = NO;
|
||||
_blockButton.hidden = NO;
|
||||
// Display here the Verify and Block buttons except if the device is the current one.
|
||||
_verifyButton.hidden = _blockButton.hidden = [deviceInfo.deviceId isEqualToString:mxSession.matrixRestClient.credentials.deviceId];
|
||||
|
||||
switch (deviceInfo.verified)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user