locked only if installed, to-do: need refine here

This commit is contained in:
rustdesk 2022-09-22 16:18:06 +08:00
parent aeeffad33b
commit 78efa66378

View File

@ -331,7 +331,7 @@ class _Safety extends StatefulWidget {
class _SafetyState extends State<_Safety> with AutomaticKeepAliveClientMixin {
@override
bool get wantKeepAlive => true;
bool locked = true;
bool locked = bind.mainIsInstalled();
final scrollController = ScrollController();
@override