mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-18 19:56:32 -07:00
fix: Small bugfix for windows
This commit is contained in:
parent
75c2f958b4
commit
24d6eb52b9
2 changed files with 28 additions and 22 deletions
|
|
@ -1,3 +1,6 @@
|
|||
import 'dart:io';
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
|
||||
|
|
@ -34,6 +37,7 @@ class VideoPlayerSettingsProviderNotifier extends StateNotifier<VideoPlayerSetti
|
|||
ref.read(videoPlayerProvider.notifier).init();
|
||||
}
|
||||
final userData = ref.read(userProvider);
|
||||
if (!kIsWeb && Platform.isAndroid) {
|
||||
pigeon.PlayerSettingsPigeon().sendPlayerSettings(
|
||||
pigeon.PlayerSettings(
|
||||
enableTunneling: value.enableTunneling,
|
||||
|
|
@ -59,6 +63,7 @@ class VideoPlayerSettingsProviderNotifier extends StateNotifier<VideoPlayerSetti
|
|||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
void setScreenBrightness(double? value) async {
|
||||
state = state.copyWith(
|
||||
|
|
|
|||
|
|
@ -107,6 +107,7 @@ class CustomKeyboardState extends State<CustomKeyboardWrapper> {
|
|||
color: Theme.of(context).colorScheme.surface,
|
||||
alignment: Alignment.center,
|
||||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: [
|
||||
AnimatedSize(
|
||||
duration: const Duration(milliseconds: 125),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue