Просмотр исходного кода

Squashed 'cntdown_timer/' changes from f63ba6aad..377da10e4

377da10e4 fix catalog versions
642f01d93 bump versions
d49f1b8d3 fix cnt down timer & update pomodoro
b2f402034 categories part 1
ce8a115e4 more manifestos, xbox controller and videopoker ufbt fixes
bc0456f36 Add Screenshots
039c3ba30 API 31 / unzip sources
REVERT: f63ba6aad add progress bar and other changes
REVERT: ceb9b6af7 minor changes
REVERT: a4ab1b987 Update README.md
REVERT: 53a2bf994 initial commit

git-subtree-dir: cntdown_timer
git-subtree-split: 377da10e4cd8dba7050209827f5f06e0e45137ea
Willy-JL 2 лет назад
Родитель
Сommit
cbff02ee8f
4 измененных файлов с 9 добавлено и 2 удалено
  1. 5 1
      application.fam
  2. BIN
      img/1.png
  3. 1 1
      utils/utils.h
  4. 3 0
      views/countdown_view.c

+ 5 - 1
application.fam

@@ -12,5 +12,9 @@ App(
     stack_size=2 * 1024,
     order=20,
     fap_icon="cntdown_timer.png",
-    fap_category="0w0mewo",
+    fap_category="Tools",
+    fap_author="@0w0mewo",
+    fap_weburl="https://github.com/0w0mewo/fpz_cntdown_timer",
+    fap_version="1.2",
+    fap_description="Simple count down timer",
 )


+ 1 - 1
utils/utils.h

@@ -7,6 +7,6 @@ void notification_beep_once();
 void notification_off();
 void notification_timeup();
 
-void parse_sec_to_time_str(char *buffer, size_t len, int32_t sec);
+void parse_sec_to_time_str(char* buffer, size_t len, int32_t sec);
 
 #endif // __UTILS_H__

+ 3 - 0
views/countdown_view.c

@@ -129,6 +129,9 @@ static bool countdown_timer_view_on_input(InputEvent* event, void* ctx) {
                 handle_misc_cmd(hw, CountDownTimerToggleCounting);
             }
             break;
+        case InputKeyBack:
+            return false;
+            break;
 
         default:
             break;