- fixed: duplicates on the frontpage - new: search by tag
This commit is contained in:
		@@ -45,7 +45,7 @@ class _VideoWidgetState extends ConsumerState<VideoWidget> {
 | 
			
		||||
    }
 | 
			
		||||
    _controller.setLooping(true);
 | 
			
		||||
 | 
			
		||||
    final muted = ref.read(mediaProvider).muted;
 | 
			
		||||
    final bool muted = ref.read(mediaProvider).muted;
 | 
			
		||||
    _controller.setVolume(muted ? 0.0 : 1.0);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
@@ -82,7 +82,7 @@ class _VideoWidgetState extends ConsumerState<VideoWidget> {
 | 
			
		||||
 | 
			
		||||
  @override
 | 
			
		||||
  Widget build(BuildContext context) {
 | 
			
		||||
    final muted = ref.watch(mediaProvider).muted;
 | 
			
		||||
    final bool muted = ref.watch(mediaProvider).muted;
 | 
			
		||||
    if (_controller.value.isInitialized &&
 | 
			
		||||
        _controller.value.volume != (muted ? 0.0 : 1.0)) {
 | 
			
		||||
      _controller.setVolume(muted ? 0.0 : 1.0);
 | 
			
		||||
 
 | 
			
		||||
@@ -17,8 +17,8 @@ class VideoControlsOverlay extends ConsumerWidget {
 | 
			
		||||
 | 
			
		||||
  @override
 | 
			
		||||
  Widget build(BuildContext context, ref) {
 | 
			
		||||
    final mediaState = ref.watch(mediaProvider);
 | 
			
		||||
    final mediaNotifier = ref.read(mediaProvider.notifier);
 | 
			
		||||
    final MediaState mediaState = ref.watch(mediaProvider);
 | 
			
		||||
    final MediaNotifier mediaNotifier = ref.read(mediaProvider.notifier);
 | 
			
		||||
 | 
			
		||||
    return Stack(
 | 
			
		||||
      alignment: Alignment.center,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user