fix: remove deprecated method

This commit is contained in:
Harsh Shandilya
2023-01-12 10:59:30 +05:30
parent 4217629638
commit ed5385a0d8

View File

@@ -184,7 +184,7 @@ class PasswordStore : BaseGitActivity() {
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
setContentView(R.layout.activity_pwdstore) setContentView(R.layout.activity_pwdstore)
lifecycleScope.launchWhenCreated { lifecycleScope.launch {
model.currentDir.flowWithLifecycle(lifecycle).collect { dir -> model.currentDir.flowWithLifecycle(lifecycle).collect { dir ->
val basePath = PasswordRepository.getRepositoryDirectory().absoluteFile val basePath = PasswordRepository.getRepositoryDirectory().absoluteFile
supportActionBar?.apply { supportActionBar?.apply {