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