mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-17 03:01:28 +03:00
flutter_desktop: fix ffi model provider
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -58,6 +58,8 @@ class _ConnectionPageState extends State<ConnectionPage> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
Provider.of<FfiModel>(context);
|
||||
|
||||
if (_idController.text.isEmpty) _idController.text = gFFI.getId();
|
||||
return Container(
|
||||
decoration: BoxDecoration(color: isDarkTheme() ? null : MyTheme.grayBg),
|
||||
|
||||
Reference in New Issue
Block a user