Setup screen scrolls up when keyboard would block textfields; fixed bug that would prevent a substitution from being shown if it contained a question mark (e.g.: 'INF7?inf999')

This commit is contained in:
Deniz Duezgoeren
2019-10-23 20:20:31 +02:00
parent ede4f0cc0a
commit 1dc8ab5d76
5 changed files with 96 additions and 13 deletions
+1 -5
View File
@@ -28,11 +28,6 @@ class PlanViewController : UICollectionViewController, UICollectionViewDelegateM
collectionView = UICollectionView(frame: .zero, collectionViewLayout: layout)
}
override func loadView() {
super.loadView()
self.collectionView.isPrefetchingEnabled = false
}
override func viewWillAppear(_ animated: Bool) {
if !self.prefs.bool(forKey: "logged_in") {
@@ -101,6 +96,7 @@ class PlanViewController : UICollectionViewController, UICollectionViewDelegateM
self.collectionView.contentInsetAdjustmentBehavior = .always
self.df.setTabBarBadge(for: self.tabBarController?.tabBar.items)
self.collectionView.isPrefetchingEnabled = false
}
func getViewType() -> String {