Skip to content

Commit

Permalink
upd coundown timer
Browse files Browse the repository at this point in the history
fix by Willy-JL
  • Loading branch information
xMasterX committed May 19, 2024
1 parent 32e11b2 commit 1bd63df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions apps_source_code/fpz_cntdown_timer-main/application.fam
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# qv. https://github.com/flipperdevices/flipperzero-firmware/blob/dev/documentation/AppManifests.md

App(
appid="cntdown_tim",
name="Count Down Timer",
Expand All @@ -15,6 +13,6 @@ App(
fap_category="Tools",
fap_author="@0w0mewo",
fap_weburl="https://github.com/0w0mewo/fpz_cntdown_timer",
fap_version="1.2",
fap_version="1.3",
fap_description="Simple count down timer",
)
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ static void handle_time_setting_updown(CountDownTimView* cdv, CountDownViewCmd c
break;
}

if(count < 0) {
count = 0;
if(count <= 0) {
count = 1;
}

// update count state
Expand Down

0 comments on commit 1bd63df

Please sign in to comment.