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)
This commit is contained in:
parent
c8a2fd60d0
commit
2b90448be8
3 changed files with 6 additions and 1 deletions
|
|
@ -48,5 +48,9 @@
|
||||||
<action android:name="android.intent.action.PROCESS_TEXT"/>
|
<action android:name="android.intent.action.PROCESS_TEXT"/>
|
||||||
<data android:mimeType="text/plain"/>
|
<data android:mimeType="text/plain"/>
|
||||||
</intent>
|
</intent>
|
||||||
|
<intent>
|
||||||
|
<action android:name="android.intent.action.VIEW"/>
|
||||||
|
<data android:scheme="https"/>
|
||||||
|
</intent>
|
||||||
</queries>
|
</queries>
|
||||||
</manifest>
|
</manifest>
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter/services.dart';
|
import 'package:flutter/services.dart';
|
||||||
|
|
||||||
import 'main_screen.dart';
|
import 'main_screen.dart';
|
||||||
import 'permission_screen.dart';
|
import 'permission_screen.dart';
|
||||||
import 'preferences.dart';
|
import 'preferences.dart';
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||||
late TextEditingController _heartbeatController;
|
late TextEditingController _heartbeatController;
|
||||||
late int _accuracy;
|
late int _accuracy;
|
||||||
late bool _offlineBuffer;
|
late bool _offlineBuffer;
|
||||||
late bool _stopDetection;
|
late bool _stopDetection;
|
||||||
int _tapCount = 0;
|
int _tapCount = 0;
|
||||||
DateTime? _lastTapTime;
|
DateTime? _lastTapTime;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue