opt: segment (#1831)

* opt: segment

* revert: block config
This commit is contained in:
My-Responsitories
2026-02-10 16:13:38 +08:00
committed by GitHub
parent 0460030a2b
commit ed2bd069ee
6 changed files with 134 additions and 93 deletions

View File

@@ -39,6 +39,7 @@ import 'package:PiliPlus/utils/storage_key.dart';
import 'package:PiliPlus/utils/utils.dart';
import 'package:crypto/crypto.dart';
import 'package:flex_seed_scheme/flex_seed_scheme.dart' show FlexSchemeVariant;
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:hive/hive.dart';
@@ -324,7 +325,7 @@ abstract final class Pref {
);
static bool get blockTrack =>
_setting.get(SettingBoxKey.blockTrack, defaultValue: true);
_setting.get(SettingBoxKey.blockTrack, defaultValue: !kDebugMode);
static bool get checkDynamic =>
_setting.get(SettingBoxKey.checkDynamic, defaultValue: true);