Marino Faggiana 7 years ago
parent
commit
0742d68230
1 changed files with 3 additions and 1 deletions
  1. 3 1
      iOSClient/Settings/NCManageEndToEndEncryption.m

+ 3 - 1
iOSClient/Settings/NCManageEndToEndEncryption.m

@@ -230,7 +230,9 @@
 {
     [aViewController dismissViewControllerAnimated:YES completion:nil];
     
-    NSString *message = [NSString stringWithFormat:@"\n%@\n\n\n%@", NSLocalizedString(@"_e2e_settings_the_passphrase_is_", nil), [CCUtility getEndToEndPassphrase:app.activeAccount]];
+    NSString *e2ePassphrase = [CCUtility getEndToEndPassphrase:app.activeAccount];
+    
+    NSString *message = [NSString stringWithFormat:@"\n%@\n\n\n%@", NSLocalizedString(@"_e2e_settings_the_passphrase_is_", nil), e2ePassphrase];
     
     UIAlertController *alertController = [UIAlertController alertControllerWithTitle:NSLocalizedString(@"_info_", nil) message:message preferredStyle:UIAlertControllerStyleAlert];
     UIAlertAction *okAction = [UIAlertAction actionWithTitle:NSLocalizedString(@"OK", @"OK action") style:UIAlertActionStyleDefault handler:^(UIAlertAction *action) {