diff --git a/flutter_hbb/lib/remote_page.dart b/flutter_hbb/lib/remote_page.dart index dc193e12e..d4fbf7b7f 100644 --- a/flutter_hbb/lib/remote_page.dart +++ b/flutter_hbb/lib/remote_page.dart @@ -673,7 +673,7 @@ void showOptions(BuildContext context) { title: Text('Mute'))); } if (FFI.ffiModel.permissions['keyboard'] != false) { - CheckboxListTile( + more.add(CheckboxListTile( value: FFI.getByName('toggle_option', 'lock-after-session-end') == 'true', onChanged: (v) { @@ -681,7 +681,7 @@ void showOptions(BuildContext context) { FFI.setByName('toggle_option', 'lock-after-session-end'); }); }, - title: Text('Lock after session end')); + title: Text('Lock after session end'))); } return Tuple3( null,