mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Rename worker observer func
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
9b8829701b
commit
3099ff3991
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue