mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-24 04:12:20 +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,
|
||||
child: Overlay(initialEntries: [
|
||||
makeMobileActionsOverlayEntry(
|
||||
() => _ffi
|
||||
.dialogManager
|
||||
.mobileActionsOverlayVisible
|
||||
.value = false,
|
||||
() => _ffi.dialogManager
|
||||
.setMobileActionsOverlayVisible(false),
|
||||
ffi: _ffi,
|
||||
)
|
||||
]),
|
||||
|
@ -569,8 +569,8 @@ class _SettingsState extends State<SettingsPage> with WidgetsBindingObserver {
|
||||
SettingsTile(
|
||||
title: Text(translate(
|
||||
Theme.of(context).brightness == Brightness.light
|
||||
? 'Dark Theme'
|
||||
: 'Light Theme')),
|
||||
? 'Light Theme'
|
||||
: 'Dark Theme')),
|
||||
leading: Icon(Theme.of(context).brightness == Brightness.light
|
||||
? Icons.dark_mode
|
||||
: Icons.light_mode),
|
||||
|
Loading…
Reference in New Issue
Block a user