mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-10-07 15:41:30 +00:00
Fix startup error [release]
This commit is contained in:
3 files changed
+2
-7
No files matched your search
@@ -18,12 +18,6 @@ public enum HibernateBehaviour implements PrefsChoiceValue {
|
||||
public void runOnSleep() {
|
||||
AppOperationMode.switchToAsync(AppOperationMode.BACKGROUND);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAvailable() {
|
||||
var handler = DataStorageAccessHandler.getInstance();
|
||||
return handler != null && handler.isAccessRestricted();
|
||||
}
|
||||
},
|
||||
|
||||
RESTART("restart") {
|
||||
|
||||
Reference in new issue
Block a user