mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-17 07:36:14 +08:00
enable new slider/progress
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -82,6 +82,8 @@ class ThemeUtils {
|
||||
shadowColor: Colors.transparent,
|
||||
),
|
||||
progressIndicatorTheme: ProgressIndicatorThemeData(
|
||||
// ignore: deprecated_member_use
|
||||
year2023: false,
|
||||
refreshBackgroundColor: colorScheme.onSecondary,
|
||||
),
|
||||
dialogTheme: DialogThemeData(
|
||||
@@ -101,6 +103,8 @@ class ThemeUtils {
|
||||
),
|
||||
),
|
||||
),
|
||||
// ignore: deprecated_member_use
|
||||
sliderTheme: const SliderThemeData(year2023: false),
|
||||
);
|
||||
if (isDark && GStorage.isPureBlackTheme) {
|
||||
themeData = darkenTheme(themeData);
|
||||
|
||||
Reference in New Issue
Block a user