refactor: keyboard listen and grab && fix shift + scroll

This commit is contained in:
Asura
2022-10-30 05:44:33 -07:00
committed by Chieh Wang
parent eec5c16876
commit 996a317b57
9 changed files with 208 additions and 122 deletions

View File

@@ -428,6 +428,7 @@ class _DesktopHomePageState extends State<DesktopHomePage>
@override
void initState() {
super.initState();
bind.mainStartGrabKeyboard();
Timer(const Duration(seconds: 5), () async {
updateUrl = await bind.mainGetSoftwareUpdateUrl();
if (updateUrl.isNotEmpty) setState(() {});