temp fix for welcome screen showing for everybody
This commit is contained in:
parent
a91f264eaf
commit
b90e15bf3a
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue