mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-09-30 04:15:52 +00:00
Fix startup error [release]
This commit is contained in:
@@ -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") {
|
||||
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
- Fix startup error when a custom hibernation behaviour was configured in the settings
|
||||
Reference in New Issue
Block a user