diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2023-01-12 10:59:30 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2023-01-12 10:59:32 +0530 |
commit | ed5385a0d81d8ab33b3d74046c5914820725c0ff (patch) | |
tree | 2af2c0a9e5b69104eabb7e28a8eb9cb924d3dad5 /app | |
parent | 421762963896bb141b82bbcaff60764cd6ca0337 (diff) |
fix: remove deprecated method
Diffstat (limited to 'app')
-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 { |