diff options
author | Zeapo <mohamed@zenadi.com> | 2014-08-06 23:20:26 +0100 |
---|---|---|
committer | Zeapo <mohamed@zenadi.com> | 2014-08-06 23:20:26 +0100 |
commit | ad7b05114434494323dd078b0bd221608609a680 (patch) | |
tree | 6b3807578c995eb0a0d8955dbd3d041963309869 /app/src/main | |
parent | 02b9e9932ffd8a4e0f38efb6a6994b3a0d9b2ded (diff) |
made refresh work for non-root directories too
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/PasswordFragment.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/PasswordFragment.java b/app/src/main/java/com/zeapo/pwdstore/PasswordFragment.java index 261729eb..ab7c8a77 100644 --- a/app/src/main/java/com/zeapo/pwdstore/PasswordFragment.java +++ b/app/src/main/java/com/zeapo/pwdstore/PasswordFragment.java @@ -3,6 +3,7 @@ package com.zeapo.pwdstore; import android.app.Activity; import android.os.Bundle; import android.app.Fragment; +import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; @@ -111,7 +112,7 @@ public class PasswordFragment extends Fragment implements AbsListView.OnItemClic public void updateAdapter() { mAdapter.clear(); - mAdapter.addAll(PasswordRepository.getPasswords()); + mAdapter.addAll(PasswordRepository.getPasswords(new File(getArguments().getString("Path")))); } } |