From 8929712724e80700f738d6392f2188e642042d23 Mon Sep 17 00:00:00 2001 From: Harrison Leath Date: Fri, 29 Nov 2019 16:35:18 -0500 Subject: [PATCH] Finalization of v1.1.3 for release --- Jotify.xcodeproj/project.pbxproj | 4 ++-- Jotify/Controller/SavedNoteController.swift | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Jotify.xcodeproj/project.pbxproj b/Jotify.xcodeproj/project.pbxproj index db1a98f7..38a56c21 100644 --- a/Jotify.xcodeproj/project.pbxproj +++ b/Jotify.xcodeproj/project.pbxproj @@ -707,7 +707,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = Default; CODE_SIGN_ENTITLEMENTS = Jotify/Jotify.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; + CURRENT_PROJECT_VERSION = 2; DEVELOPMENT_TEAM = G69P7XTUQ3; ENABLE_BITCODE = YES; FRAMEWORK_SEARCH_PATHS = ( @@ -739,7 +739,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = Default; CODE_SIGN_ENTITLEMENTS = Jotify/Jotify.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; + CURRENT_PROJECT_VERSION = 2; DEVELOPMENT_TEAM = G69P7XTUQ3; ENABLE_BITCODE = YES; INFOPLIST_FILE = Jotify/Info.plist; diff --git a/Jotify/Controller/SavedNoteController.swift b/Jotify/Controller/SavedNoteController.swift index ba818e35..2fd1807e 100644 --- a/Jotify/Controller/SavedNoteController.swift +++ b/Jotify/Controller/SavedNoteController.swift @@ -438,10 +438,15 @@ class SavedNoteController: UICollectionViewController, UISearchBarDelegate { func setupMultiSelectionToolBar() { let toolBar = navigationController?.toolbar - if UserDefaults.standard.bool(forKey: "darkModeEnabled") == true { + if UserDefaults.standard.bool(forKey: "vibrantDarkModeEnabled") == true { + toolBar?.tintColor = .white + toolBar?.barTintColor = .grayBackground + toolBar?.sizeToFit() + } else if UserDefaults.standard.bool(forKey: "pureDarkModeEnabled") == true { toolBar?.tintColor = .white toolBar?.barTintColor = .black toolBar?.sizeToFit() + } else { toolBar?.tintColor = nil toolBar?.barTintColor = nil