mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-01-19 00:13:01 +08:00
bug fix
This commit is contained in:
parent
71493c8e7e
commit
8e14868709
@ -193,6 +193,7 @@ class FfiModel with ChangeNotifier {
|
|||||||
showLoading('Waiting for image...', context);
|
showLoading('Waiting for image...', context);
|
||||||
_waitForImage = true;
|
_waitForImage = true;
|
||||||
}
|
}
|
||||||
|
notifyListeners();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -163,6 +163,7 @@ class _RemotePageState extends State<RemotePage> {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
|
final pi = Provider.of<FfiModel>(context).pi;
|
||||||
EasyLoading.instance.loadingStyle = EasyLoadingStyle.light;
|
EasyLoading.instance.loadingStyle = EasyLoadingStyle.light;
|
||||||
return WillPopScope(
|
return WillPopScope(
|
||||||
onWillPop: () async {
|
onWillPop: () async {
|
||||||
@ -179,7 +180,7 @@ class _RemotePageState extends State<RemotePage> {
|
|||||||
onPressed: () {
|
onPressed: () {
|
||||||
setState(() => _showBar = !_showBar);
|
setState(() => _showBar = !_showBar);
|
||||||
}),
|
}),
|
||||||
bottomNavigationBar: _showBar && FFI.ffiModel.pi.displays != null
|
bottomNavigationBar: _showBar && pi.displays != null
|
||||||
? BottomAppBar(
|
? BottomAppBar(
|
||||||
elevation: 10,
|
elevation: 10,
|
||||||
color: MyTheme.accent,
|
color: MyTheme.accent,
|
||||||
|
Loading…
Reference in New Issue
Block a user