Editing alarm now displays correct title.

This commit is contained in:
Aaron
2021-01-26 21:41:04 -05:00
parent 3cd18e883d
commit 7c626b4f82
2 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -19,6 +19,7 @@ class AddAlarmViewController: UIViewController
//Toggle editing mode
editFlag = true
viewTitle.text = "Edit Alarm"
//Convert string to Date
let dateFormatter = DateFormatter()
@@ -78,7 +79,8 @@ class AddAlarmViewController: UIViewController
@IBOutlet weak var repeatWeekendsSwitch: UISwitch!
@IBOutlet weak var alarmNameTextField: UITextField!
@IBOutlet weak var timeTillAlarmLabel: UILabel!
@IBOutlet weak var viewTitle: UILabel!
/**
Called when the time for the alarm is changed.
Sets the time away at the top of the View.
+1
View File
@@ -625,6 +625,7 @@
<outlet property="scrollViewInner" destination="N7f-vi-SFU" id="LQW-6T-f6x"/>
<outlet property="timePicker" destination="qSt-1V-2DQ" id="aDM-jE-0OP"/>
<outlet property="timeTillAlarmLabel" destination="Xqs-n0-H9G" id="fg6-18-oAG"/>
<outlet property="viewTitle" destination="97A-aJ-4ms" id="MZL-qA-2AV"/>
<outlet property="wvmPicker" destination="oae-b2-SoF" id="ADd-1r-iNM"/>
</connections>
</viewController>