mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-27 23:19:02 +08:00
fix: mobile actions hide and mobile theme (#8447)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
parent
40cb59336f
commit
307827be3c
@ -328,10 +328,8 @@ class _RemotePageState extends State<RemotePage>
|
|||||||
.mobileActionsOverlayVisible.isFalse,
|
.mobileActionsOverlayVisible.isFalse,
|
||||||
child: Overlay(initialEntries: [
|
child: Overlay(initialEntries: [
|
||||||
makeMobileActionsOverlayEntry(
|
makeMobileActionsOverlayEntry(
|
||||||
() => _ffi
|
() => _ffi.dialogManager
|
||||||
.dialogManager
|
.setMobileActionsOverlayVisible(false),
|
||||||
.mobileActionsOverlayVisible
|
|
||||||
.value = false,
|
|
||||||
ffi: _ffi,
|
ffi: _ffi,
|
||||||
)
|
)
|
||||||
]),
|
]),
|
||||||
|
@ -569,8 +569,8 @@ class _SettingsState extends State<SettingsPage> with WidgetsBindingObserver {
|
|||||||
SettingsTile(
|
SettingsTile(
|
||||||
title: Text(translate(
|
title: Text(translate(
|
||||||
Theme.of(context).brightness == Brightness.light
|
Theme.of(context).brightness == Brightness.light
|
||||||
? 'Dark Theme'
|
? 'Light Theme'
|
||||||
: 'Light Theme')),
|
: 'Dark Theme')),
|
||||||
leading: Icon(Theme.of(context).brightness == Brightness.light
|
leading: Icon(Theme.of(context).brightness == Brightness.light
|
||||||
? Icons.dark_mode
|
? Icons.dark_mode
|
||||||
: Icons.light_mode),
|
: Icons.light_mode),
|
||||||
|
Loading…
Reference in New Issue
Block a user