瀏覽代碼

improve layout

B. Petersen 2 年之前
父節點
當前提交
517591d018
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      deltachat-ios/Controller/BackupTransferViewController.swift

+ 2 - 0
deltachat-ios/Controller/BackupTransferViewController.swift

@@ -108,6 +108,7 @@ class BackupTransferViewController: UIViewController {
                 self.qrContentView.image = image
                 self.activityIndicator.stopAnimating()
                 self.activityIndicator.isHidden = true
+                self.statusLine.textAlignment = .left
                 self.statusLine.text = "➊ " + String.localized("multidevice_same_network_hint")
                                  + "\n\n➋ " + String.localized("multidevice_install_dc_on_other_device")
                                  + "\n\n➌ " + String.localized("multidevice_tap_scan_on_other_device")
@@ -166,6 +167,7 @@ class BackupTransferViewController: UIViewController {
                 }
 
                 if hideQrCode && !self.qrContentView.isHidden {
+                    self.statusLine.textAlignment = .center
                     self.qrContentView.isHidden = true
                 }
             }