mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-09-01 14:55:19 +00:00
temp fix for welcome screen showing for everybody
This commit is contained in:
@@ -277,8 +277,8 @@ public class PasswordStore extends ActionBarActivity {
|
|||||||
FragmentManager fragmentManager = getFragmentManager();
|
FragmentManager fragmentManager = getFragmentManager();
|
||||||
FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();
|
FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();
|
||||||
|
|
||||||
|
// TODO: Remove the getpaswords() as it is a temporary fix until every user has the repository_initialized set
|
||||||
if (settings.getBoolean("repository_initialized", false)) {
|
if (settings.getBoolean("repository_initialized", false) || PasswordRepository.getPasswords(localDir).size() > 0) {
|
||||||
// do not push the fragment if we already have it
|
// do not push the fragment if we already have it
|
||||||
if (fragmentManager.findFragmentByTag("PasswordsList") == null) {
|
if (fragmentManager.findFragmentByTag("PasswordsList") == null) {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user