captains-log

[TO-FIX] audiojournaling app
git clone git://git.figbert.com/captains-log.git
Log | Files | Refs

commit da33c93921f4efcf05811455aa3d3039c819f87d
parent 968dee93b63d50bc819ca05b2b7c91713d4a1a9e
Author: therealFIGBERT <figbertwelner@gmail.com>
Date:   Fri, 25 Oct 2019 20:18:58 -0700

Fixing list option display issue

Diffstat:
MGlobalVars.swift | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/GlobalVars.swift b/GlobalVars.swift @@ -38,7 +38,7 @@ class GlobalVars: ObservableObject { objectWillChange.send(self) } } - let dateFormats = [ + var dateFormats = [ "Stardate", "Jewish", "Islamic", @@ -49,7 +49,11 @@ class GlobalVars: ObservableObject { "Japanese", "Ethiopian", "Gregorian" - ] + ] { + didSet { + objectWillChange.send(self) + } + } var messages: [String] { didSet { objectWillChange.send(self)