Open otabuzzman opened 2 years ago
In body property of Tty view, UserDefaults.standard.string returns nil for crtColor even though it is set and registered in Hmi.init.
body
Tty
UserDefaults.standard.string
nil
crtColor
Hmi.init
https://stackoverflow.com/a/36790348
Missed to load Tty.plist file. Fixed with commit #3.
Tty.plist
Still implicitly unwrapped optional error in Tty view.
In
body
property ofTty
view,UserDefaults.standard.string
returnsnil
forcrtColor
even though it is set and registered inHmi.init
.https://stackoverflow.com/a/36790348