Przeglądaj źródła

Don't allow focus on empty view and restore mis-updated screenshot

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Álvaro Brey 2 lat temu
rodzic
commit
5ba739d8df

BIN
app/screenshots/gplay/debug/com.owncloud.android.ui.activity.FolderPickerActivityIT_open.png


+ 1 - 0
app/src/main/java/com/owncloud/android/ui/EmptyRecyclerView.java

@@ -69,6 +69,7 @@ public class EmptyRecyclerView extends RecyclerView {
             int emptyCount = hasFooter ? 1 : 0;
             boolean empty = getAdapter() == null || getAdapter().getItemCount() == emptyCount;
             mEmptyView.setVisibility(empty ? VISIBLE : GONE);
+            mEmptyView.setFocusable(false);
             this.setVisibility(empty ? GONE : VISIBLE);
         }
     }