Marino Faggiana 7 年之前
父節點
當前提交
0742d68230
共有 1 個文件被更改,包括 3 次插入1 次删除
  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) {