diff options
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt b/app/src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt index 27044b68..fce45b5a 100644 --- a/app/src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt +++ b/app/src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt @@ -184,7 +184,7 @@ class PasswordStore : BaseGitActivity() { super.onCreate(savedInstanceState) setContentView(R.layout.activity_pwdstore) - lifecycleScope.launchWhenCreated { + lifecycleScope.launch { model.currentDir.flowWithLifecycle(lifecycle).collect { dir -> val basePath = PasswordRepository.getRepositoryDirectory().absoluteFile supportActionBar?.apply { |