From 2b90448be846b11a1c5c44637682e1b03395fe96 Mon Sep 17 00:00:00 2001 From: fiatcode Date: Thu, 30 Apr 2026 18:29:51 +0700 Subject: [PATCH] feat: add easter egg - triple-tap settings title opens fiatcode.dev - Add url_launcher dependency - Add Android queries element for https scheme visibility - Add triple-tap detection on Settings AppBar title - Simplify to direct URL launch (no animation) --- android/app/src/main/AndroidManifest.xml | 4 ++++ lib/main.dart | 1 + lib/settings_screen.dart | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 05a130f..20379ff 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -48,5 +48,9 @@ + + + + \ No newline at end of file diff --git a/lib/main.dart b/lib/main.dart index 719eb4b..8021ef7 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -1,5 +1,6 @@ import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; + import 'main_screen.dart'; import 'permission_screen.dart'; import 'preferences.dart'; diff --git a/lib/settings_screen.dart b/lib/settings_screen.dart index d1afecc..ed8e4c8 100644 --- a/lib/settings_screen.dart +++ b/lib/settings_screen.dart @@ -19,7 +19,7 @@ class _SettingsScreenState extends State { late TextEditingController _heartbeatController; late int _accuracy; late bool _offlineBuffer; - late bool _stopDetection; + late bool _stopDetection; int _tapCount = 0; DateTime? _lastTapTime;