소스 검색

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)
     }
 }