aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-01-12 10:59:30 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-01-12 10:59:32 +0530
commited5385a0d81d8ab33b3d74046c5914820725c0ff (patch)
tree2af2c0a9e5b69104eabb7e28a8eb9cb924d3dad5 /app/src/main/java
parent421762963896bb141b82bbcaff60764cd6ca0337 (diff)
fix: remove deprecated method
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt2
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 {