Verified Commit 8d6cee27 authored by asahiocean's avatar asahiocean 🚀
Browse files

${unixtimestamp}

parent 0cc2ddbf
......@@ -31,11 +31,11 @@ protocol ModelDelegate: AnyObject {
selectedPinsKVO = observe(\.selected, options: .new, changeHandler: { [self] model, change in
guard let newValue = change.newValue else { return }
if newValue != nil {
guard mainButton?.tag == Model.buttonTag.start.rawValue ||
mainButton?.tag == Model.buttonTag.finish.rawValue else { return }
guard mainButton?.tag == buttonTag.start.rawValue ||
mainButton?.tag == buttonTag.finish.rawValue else { return }
mainButton?.setTitle("OK", for: .normal)
} else {
guard mainButton?.tag != Model.buttonTag.routecalc.rawValue else { return }
guard mainButton?.tag != buttonTag.routecalc.rawValue else { return }
mainButton?.setTitle(mainButtonTitle, for: .normal)
}
})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment