File tree Expand file tree Collapse file tree
Application/DevLogPresentation/Sources/Settings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ struct PushNotificationSettingsView: View {
1919 Spacer ( )
2020 if store. isLoading && store. activeLoadingRow == . enable {
2121 ProgressView ( )
22- . id ( UUID ( ) )
2322 } else {
2423 Toggle ( " " , isOn: $store. pushNotificationEnable)
2524 . labelsHidden ( )
@@ -40,9 +39,9 @@ struct PushNotificationSettingsView: View {
4039 if let loadingRow,
4140 store. isLoading && store. activeLoadingRow == loadingRow {
4241 ProgressView ( )
43- . id ( UUID ( ) )
44- } else if store. pushNotificationHour == hour &&
45- store. pushNotificationMinute == 0 {
42+ } else if store . activeLoadingRow != loadingRow
43+ && store. pushNotificationHour == hour
44+ && store. pushNotificationMinute == 0 {
4645 Image ( systemName: " checkmark " )
4746 . foregroundStyle ( Color . blue)
4847 }
@@ -56,11 +55,11 @@ struct PushNotificationSettingsView: View {
5655 Spacer ( )
5756 if store. isLoading && store. activeLoadingRow == . customTime {
5857 ProgressView ( )
59- . id ( UUID ( ) )
6058 } else {
6159 Text ( formattedTimeString ( store. viewPushNotificationTime) )
6260 . foregroundStyle ( . secondary)
63- if store. pushNotificationMinute != 0 {
61+ if store. activeLoadingRow != . customTime &&
62+ store. pushNotificationMinute != 0 {
6463 Image ( systemName: " checkmark " )
6564 . foregroundStyle ( Color . blue)
6665 }
You can’t perform that action at this time.
0 commit comments