feat: support custom tracker url (#59)

This commit is contained in:
Li Wei authored and GitHub committed 2022-12-12 15:58:11 +08:00
1 parent 9ef3405e43
commit 691c2f496e
71 files changed
+2209 -891

No files matched your search

@@ -1,12 +1,16 @@
import 'package:get/get.dart';
import '../../setting/setting.dart';
class SettingController extends GetxController {
final setting = Setting.instance.obs;
final tapStatues = <int, bool>{}.obs;
final tapStatues = <String, bool>{}.obs;
void clearTapStatus() {
tapStatues.clear();
// set all tap status to false
void clearTap() {
tapStatues.updateAll((key, value) => false);
}
// set one tap status to true
void onTap(String key) {
clearTap();
tapStatues[key] = true;
}
}