mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
refactor(mobile): video controls (#14086)
* refactor video controls * inline * make mute icon const * move placeholder to private widget * adjust text width, move volume button slightly right
This commit is contained in:
parent
53a7ac3868
commit
e1feba2198
6 changed files with 168 additions and 113 deletions
|
|
@ -7,10 +7,10 @@ import 'package:immich_mobile/providers/app_settings.provider.dart';
|
|||
import 'package:immich_mobile/services/app_settings.service.dart';
|
||||
|
||||
class ImmichTheme {
|
||||
ColorScheme light;
|
||||
ColorScheme dark;
|
||||
final ColorScheme light;
|
||||
final ColorScheme dark;
|
||||
|
||||
ImmichTheme({required this.light, required this.dark});
|
||||
const ImmichTheme({required this.light, required this.dark});
|
||||
}
|
||||
|
||||
ImmichTheme? _immichDynamicTheme;
|
||||
|
|
@ -151,7 +151,7 @@ ThemeData getThemeData({required ColorScheme colorScheme}) {
|
|||
|
||||
return ThemeData(
|
||||
useMaterial3: true,
|
||||
brightness: isDark ? Brightness.dark : Brightness.light,
|
||||
brightness: colorScheme.brightness,
|
||||
colorScheme: colorScheme,
|
||||
primaryColor: primaryColor,
|
||||
hintColor: colorScheme.onSurfaceSecondary,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue