aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeapo <mohamed@zenadi.com>2017-09-10 16:26:05 +0200
committerzeapo <mohamed@zenadi.com>2017-09-10 16:26:05 +0200
commitf383ebbb8f61993edf59cec873db011209736062 (patch)
treea73cc6b01b047f19690329c50c4df048a62f5d91
parent1c43d6c7e4592b82f719cbd088961a137d498383 (diff)
ensure the fab is hidden when moving passwords
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/SelectFolderFragment.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/SelectFolderFragment.java b/app/src/main/java/com/zeapo/pwdstore/SelectFolderFragment.java
index 506a74fa..8f583a8a 100644
--- a/app/src/main/java/com/zeapo/pwdstore/SelectFolderFragment.java
+++ b/app/src/main/java/com/zeapo/pwdstore/SelectFolderFragment.java
@@ -68,6 +68,8 @@ public class SelectFolderFragment extends Fragment{
// Set the adapter
recyclerView.setAdapter(recyclerAdapter);
+ FloatingActionButton fab = (FloatingActionButton) view.findViewById(R.id.fab);
+ if (fab != null) fab.setVisibility(View.GONE);
registerForContextMenu(recyclerView);
return view;