mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-08 23:18:16 -07:00
fix: Video player - Use theme to get the correct text color (#98)
Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
69912821e6
commit
ab3d7ef85a
2 changed files with 20 additions and 7 deletions
|
|
@ -1,9 +1,11 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:ficonsax/ficonsax.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
|
||||
import 'package:fladder/providers/settings/video_player_settings_provider.dart';
|
||||
import 'package:fladder/util/list_padding.dart';
|
||||
import 'package:fladder/widgets/shared/fladder_slider.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
|
||||
class VideoVolumeSlider extends ConsumerStatefulWidget {
|
||||
final double? width;
|
||||
|
|
@ -58,6 +60,7 @@ class _VideoVolumeSliderState extends ConsumerState<VideoVolumeSlider> {
|
|||
child: Text(
|
||||
(volume).toStringAsFixed(0),
|
||||
textAlign: TextAlign.center,
|
||||
style: Theme.of(context).textTheme.bodyMedium,
|
||||
),
|
||||
),
|
||||
].addInBetween(const SizedBox(width: 6)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue