temporary solution for Android AccessibilityService can't not control RustDesk itself

This commit is contained in:
csf
2022-04-13 23:05:17 +08:00
parent ba2b30f488
commit c5a601a5a3
5 changed files with 29 additions and 1 deletions

View File

@@ -21,6 +21,9 @@ class ConnectionPage extends StatefulWidget implements PageShape {
@override
final appBarActions = isWeb ? <Widget>[WebMenu()] : <Widget>[];
@override
final scrollController = ScrollController();
@override
_ConnectionPageState createState() => _ConnectionPageState();
}
@@ -46,6 +49,7 @@ class _ConnectionPageState extends State<ConnectionPage> {
Provider.of<FfiModel>(context);
if (_idController.text.isEmpty) _idController.text = FFI.getId();
return SingleChildScrollView(
controller: widget.scrollController,
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
mainAxisSize: MainAxisSize.max,