mirror of
https://github.com/immich-app/immich.git
synced 2025-05-31 04:06:26 -04:00
Merge 8bb015877b75044071671ab6434433b55fb316c2 into 63437529e1224f5e7879ce567b1a4502fb97573b
This commit is contained in:
commit
068e2fab0a
@ -98,7 +98,8 @@ class BackupControllerPage extends HookConsumerWidget {
|
|||||||
|
|
||||||
useEffect(
|
useEffect(
|
||||||
() {
|
() {
|
||||||
if (backupState.backupProgress == BackUpProgressEnum.inProgress) {
|
if (backupState.backupProgress == BackUpProgressEnum.inProgress ||
|
||||||
|
backupState.backupProgress == BackUpProgressEnum.manualInProgress) {
|
||||||
startScreenDarkenTimer();
|
startScreenDarkenTimer();
|
||||||
WakelockPlus.enable();
|
WakelockPlus.enable();
|
||||||
} else {
|
} else {
|
||||||
@ -302,7 +303,8 @@ class BackupControllerPage extends HookConsumerWidget {
|
|||||||
if (isScreenDarkened.value) {
|
if (isScreenDarkened.value) {
|
||||||
stopScreenDarkenTimer();
|
stopScreenDarkenTimer();
|
||||||
}
|
}
|
||||||
if (backupState.backupProgress == BackUpProgressEnum.inProgress) {
|
if (backupState.backupProgress == BackUpProgressEnum.inProgress ||
|
||||||
|
backupState.backupProgress == BackUpProgressEnum.manualInProgress) {
|
||||||
startScreenDarkenTimer();
|
startScreenDarkenTimer();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user