Skip to content

Commit

Permalink
fix: 외출복귀 버튼 집이 아니어도 active
Browse files Browse the repository at this point in the history
  • Loading branch information
kor-Randy committed Feb 18, 2021
1 parent 7627a96 commit 46f6e0c
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions Sticky/Features/Timer/Components/BottomOuting.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,9 @@ struct BottomOuting: View {
var body: some View {
VStack {
Button(action: {
if locationManager.isContains() {
count = 3
flag = true
challengeState.type = .running
} else {
print("아직 집이 아닌데 할거야?")
}
count = 3
flag = true
challengeState.type = .running
}, label: {
GradientRoundedButton(
content: "귀가완료",
Expand Down

0 comments on commit 46f6e0c

Please sign in to comment.