mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
@@ -3,6 +3,7 @@ import 'dart:math' show pow, sqrt;
|
||||
|
||||
import 'package:PiliPlus/common/widgets/pair.dart';
|
||||
import 'package:PiliPlus/http/constants.dart';
|
||||
import 'package:PiliPlus/models/common/bar_hide_type.dart';
|
||||
import 'package:PiliPlus/models/common/dynamic/dynamic_badge_mode.dart';
|
||||
import 'package:PiliPlus/models/common/dynamic/dynamics_type.dart';
|
||||
import 'package:PiliPlus/models/common/dynamic/up_panel_position.dart';
|
||||
@@ -672,6 +673,12 @@ abstract final class Pref {
|
||||
defaultValue: PlatformUtils.isMobile,
|
||||
);
|
||||
|
||||
static BarHideType get barHideType =>
|
||||
BarHideType.values[_setting.get(
|
||||
SettingBoxKey.barHideType,
|
||||
defaultValue: BarHideType.sync.index,
|
||||
)];
|
||||
|
||||
static bool get enableSearchWord =>
|
||||
_setting.get(SettingBoxKey.enableSearchWord, defaultValue: false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user