Skip to content

Commit

Permalink
setup fix
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipthelen committed Aug 22, 2024
1 parent 47db476 commit 39c088b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HabitRPG/UI/SetupViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,10 @@ class SetupViewController: UIViewController, UIScrollViewDelegate {
}

func completeSetup() {
isCompletingSetup = true
if !tagsToCreate.isEmpty || !createdTags.isEmpty || isCompletingSetup {
return
}
isCompletingSetup = true
UserDefaults.standard.set(false, forKey: "isInSetup")
UserDefaults.standard.set(0, forKey: "currentSetupStep")
if let viewController = taskSetupViewController {
Expand Down

0 comments on commit 39c088b

Please sign in to comment.