mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
fix the issue of hiding UI
This commit is contained in:
@@ -79,7 +79,7 @@ class _MyAppState extends State<MyApp> with WidgetsBindingObserver {
|
||||
|
||||
@override
|
||||
void didChangeAppLifecycleState(AppLifecycleState state) {
|
||||
if (!App.isMobile) {
|
||||
if (!App.isMobile || !appdata.settings['authorizationRequired']) {
|
||||
return;
|
||||
}
|
||||
if (state == AppLifecycleState.inactive && hideContentOverlay == null) {
|
||||
@@ -101,7 +101,6 @@ class _MyAppState extends State<MyApp> with WidgetsBindingObserver {
|
||||
hideContentOverlay = null;
|
||||
}
|
||||
if (state == AppLifecycleState.hidden &&
|
||||
appdata.settings['authorizationRequired'] &&
|
||||
!isAuthPageActive &&
|
||||
!IO.isSelectingFiles) {
|
||||
isAuthPageActive = true;
|
||||
|
Reference in New Issue
Block a user