Skip to content

Commit

Permalink
Disable auto select new date when app is active for now
Browse files Browse the repository at this point in the history
  • Loading branch information
vinhnx committed Feb 22, 2022
1 parent 8ddfe7a commit 4e6bcf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Clendar/ClendarApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ struct ClendarApp: App {
.onChange(of: phase) { (newPhase) in
switch newPhase {
case .active:
store.selectedDate = Date() // reset selected date to current date on active
// store.selectedDate = Date() // reset selected date to current date on active

guard let name = shortcutItemToProcess?.userInfo?[Constants.addEventQuickActionKey] as? String else { return }

Expand Down

0 comments on commit 4e6bcf9

Please sign in to comment.