浏览代码

adapt visibility of state variables

cyberta 4 年之前
父节点
当前提交
d2c11ebdf7
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      deltachat-ios/Chat/ChatViewController.swift

+ 3 - 3
deltachat-ios/Chat/ChatViewController.swift

@@ -21,9 +21,9 @@ class ChatViewController: UITableViewController {
     // The VC can be dismissed by pressing back '<' or by a swipe-to-dismiss gesture.
     // The latter is cancelable and leads to viewWillAppear is called in case the gesture is cancelled
     // We need the flag to handle that special case correctly in viewWillAppear
-    var isDismissing = false
-    var isInitial = true
-    var ignoreInputBarChange = false
+    private var isDismissing = false
+    private var isInitial = true
+    private var ignoreInputBarChange = false
     private var isVisibleToUser: Bool = false
     private var keepKeyboard: Bool = false