From 6978587ae138454c366236b569c67abca3116f03 Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Thu, 20 Sep 2018 15:07:02 +0200 Subject: [PATCH] show local size when switching to "on device" view Signed-off-by: tobiasKaminsky --- .../android/ui/adapter/OCFileListAdapter.java | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java b/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java index 04efe5b311..5369cb7d61 100644 --- a/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java +++ b/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java @@ -108,6 +108,7 @@ public class OCFileListAdapter extends RecyclerView.Adapter asyncTasks = new ArrayList<>(); + private boolean onlyOnDevice = false; public OCFileListAdapter(Context context, ComponentsGetter transferServiceGetter, OCFileListFragmentInterface ocFileListFragmentInterface, boolean argHideItemOptions, @@ -283,7 +284,21 @@ public class OCFileListAdapter extends RecyclerView.Adapter