Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
@@ -1505,7 +1505,7 @@ public class FileDisplayActivity extends FileActivity
// TODO what about other kind of previews?
}
- getListOfFilesFragment().setLoading(false);
+ getListOfFilesFragment().setLoading(Boolean.FALSE);
} finally {
if (intent != null) {
removeStickyBroadcast(intent);
@@ -2218,7 +2218,7 @@ public class FileDisplayActivity extends FileActivity
null
);
- getListOfFilesFragment().setLoading(true);
+ getListOfFilesFragment().setLoading(Boolean.TRUE);
setBackgroundText();
@@ -264,7 +264,7 @@ public class FolderPickerActivity extends FileActivity implements FileFragment.C
getApplicationContext());
refreshFolderOperation.execute(getAccount(), this, null, null);
@@ -116,7 +116,7 @@ public class PhotoSearchTask extends AsyncTask<Void, Void, RemoteOperationResult
- photoFragment.setLoading(false);
+ photoFragment.setLoading(Boolean.FALSE);
if (!result.isSuccess() && !isCancelled()) {
photoFragment.setEmptyListMessage(ExtendedListFragment.SearchType.PHOTO_SEARCH);
@@ -1625,7 +1625,7 @@ public class OCFileListFragment extends ExtendedListFragment implements
@Override
public void run() {
if (fileDisplayActivity != null) {
- setLoading(false);
+ setLoading(Boolean.FALSE);
});