handle peer_info and display_switch

This commit is contained in:
open-trade
2020-11-17 16:53:02 +08:00
parent ced0457a2e
commit 0ee311b5e2
2 changed files with 21 additions and 1 deletions

View File

@@ -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(