mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-17 16:31:27 +03:00
handle peer_info and display_switch
This commit is contained in:
@@ -15,10 +15,15 @@ class HomePage extends StatefulWidget {
|
||||
class _HomePageState extends State<HomePage> {
|
||||
final _idController = TextEditingController();
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
_idController.text = FFI.getId();
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
Provider.of<FfiModel>(context);
|
||||
_idController.text = FFI.getId();
|
||||
// This method is rerun every time setState is called
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
|
||||
Reference in New Issue
Block a user