mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 02:13:51 -04:00
Merge 8bb015877b75044071671ab6434433b55fb316c2 into 4d20b11f256c40e3894c229ed638d7ea04ebdc44
This commit is contained in:
commit
205f36b8ab
@ -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