From 1078adf65a840687ceb5850266a79d7654a9afe9 Mon Sep 17 00:00:00 2001 From: loj Date: Mon, 4 Feb 2019 21:04:45 +0100 Subject: [PATCH] hide navigation bar but leave swipe back enabled --- ZWallet/ViewCoordinators/AppCoordinator.swift | 6 ++++++ ZWallet/___TODO.md | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ZWallet/ViewCoordinators/AppCoordinator.swift b/ZWallet/ViewCoordinators/AppCoordinator.swift index b87a151..072c920 100644 --- a/ZWallet/ViewCoordinators/AppCoordinator.swift +++ b/ZWallet/ViewCoordinators/AppCoordinator.swift @@ -19,6 +19,8 @@ internal class AppCoordinator: BaseCoordinator { { self.iocContainer = iocContainer super.init(navigationController: navigationController) + + self.setup() } public func start() { @@ -33,6 +35,10 @@ internal class AppCoordinator: BaseCoordinator { #warning("implement") return false } + + private func setup() { + self.navigationController.navigationBar.isHidden = true + } } diff --git a/ZWallet/___TODO.md b/ZWallet/___TODO.md index 9b1ee3d..1367950 100644 --- a/ZWallet/___TODO.md +++ b/ZWallet/___TODO.md @@ -3,14 +3,13 @@ ## HomeVC - group by date - cell touched -> (group, row) -- hide back button +- disable swipe back (although back button/navbar not visible) ## All VC +- show custom back button - constraints for smaller phones -- expand content to top margin - check for longer texts of other languages - attributes strings (from localization) ## Onboarding -- keyboard hides "next" button - implement "X" button