Added ordering system toggle, ordering system help, auto refresh option, fixed some constraints, added scroll view to CustomizationViewController to fit more options, added missing German translations

This commit is contained in:
Deniz Duezgoeren
2019-09-25 19:17:23 +02:00
parent 8f261a019f
commit b4f3b2f92f
9 changed files with 237 additions and 104 deletions
+5 -1
View File
@@ -63,7 +63,11 @@ class MenuViewController : UICollectionViewController, UICollectionViewDelegateM
@objc private func objDoAsync(_ sender: Any) {
df.doAsync(do: "menu") { menuItems in
self.items = menuItems as! [String]
self.collectionView.reloadData()
DispatchQueue.main.asyncAfter(deadline: .now() + 1.0) {
self.collectionView.reloadData()
}
self.refreshControl.endRefreshing()
self.df.setTabBarBadge(for: self.tabBarController?.tabBar.items)
}