fix: remove deprecated method

This commit is contained in:
Harsh Shandilya 2023-01-12 10:59:30 +05:30
parent 4217629638
commit ed5385a0d8
No known key found for this signature in database

View file

@ -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 {