瀏覽代碼

Fix GUI

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 年之前
父節點
當前提交
58b945d324
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      iOSClient/Settings/NCManageE2EE.swift

+ 3 - 3
iOSClient/Settings/NCManageE2EE.swift

@@ -31,7 +31,9 @@ import LocalAuthentication
     @objc func makeShipDetailsUI(account: String) -> UIViewController {
         let account = (UIApplication.shared.delegate as! AppDelegate).account
         let details = NCViewE2EE(account: account)
-        return UIHostingController(rootView: details)
+        let vc = UIHostingController(rootView: details)
+        vc.title = NSLocalizedString("_e2e_settings_", comment: "")
+        return vc
     }
 }
 
@@ -255,8 +257,6 @@ struct NCViewE2EE: View {
             }
         }
         .background(Color(UIColor.systemGroupedBackground))
-        .navigationTitle(NSLocalizedString("_e2e_settings_", comment: ""))
-        //.navigationBarTitleDisplayMode(.inline)
     }
 }