Rename worker observer func

Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2024-01-09 10:46:08 +01:00 committed by Alper Öztürk
parent 9b8829701b
commit 3099ff3991

View file

@ -152,7 +152,7 @@ public class PreviewImageActivity extends FileActivity implements
mRequestWaitingForBinder = false;
}
observeDownloadWorkerState();
observeWorkerState();
}
public void toggleActionBarVisibility(boolean hide) {
@ -306,7 +306,7 @@ public class PreviewImageActivity extends FileActivity implements
}
}
private void observeDownloadWorkerState() {
private void observeWorkerState() {
WorkerStateLiveData.Companion.instance().observe(this, state -> {
if (state instanceof WorkerState.Download) {
Log_OC.d(TAG, "Download worker started");