In flight changes

This commit is contained in:
jonkykong committed 2019-02-24 14:10:04 -08:00
1 parent 3ca1801cfd
commit 392be96c1a
35 files changed
+2326 -2029

No files matched your search

+5 -3
View File
@@ -17,7 +17,7 @@ class SideMenuTableViewController: UITableViewController {
// refresh cell blur effect in case it changed
tableView.reloadData()
guard SideMenuManager.default.menuBlurEffectStyle == nil else {
guard let menu = navigationController as? UISideMenuNavigationController, menu.blurEffectStyle == nil else {
return
}
@@ -30,8 +30,10 @@ class SideMenuTableViewController: UITableViewController {
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = super.tableView(tableView, cellForRowAt: indexPath) as! UITableViewVibrantCell
cell.blurEffectStyle = SideMenuManager.default.menuBlurEffectStyle
if let menu = navigationController as? UISideMenuNavigationController {
cell.blurEffectStyle = menu.blurEffectStyle
}
return cell
}