Skip to content

Commit

Permalink
Fixed: reload tags after storage decrypting
Browse files Browse the repository at this point in the history
  • Loading branch information
gee12 committed Jul 3, 2024
1 parent 1b348fe commit 707e1db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/main/java/com/gee12/mytetroid/ui/main/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,7 @@ class MainActivity : TetroidStorageActivity<MainViewModel>() {

override fun afterStorageDecrypted() {
updateNodes()
updateTags()
reloadTags()
// обновляем и записи, т.к. расшифровка могла быть вызвана из Favorites
viewModel.updateRecordsList()
checkReceivedIntent(receivedIntent)
Expand Down Expand Up @@ -1864,7 +1864,7 @@ class MainActivity : TetroidStorageActivity<MainViewModel>() {
} else if (data.getBooleanExtra(Constants.EXTRA_IS_PASS_CHANGED, false)) {
// обновляем списки, т.к. хранилище должно было расшифроваться
updateNodes()
updateTags()
reloadTags()
}
}
}
Expand Down Expand Up @@ -1906,7 +1906,7 @@ class MainActivity : TetroidStorageActivity<MainViewModel>() {
if (data.getBooleanExtra(Constants.EXTRA_IS_PASS_CHANGED, false)) {
// обновляем списки, т.к. хранилище должно было расшифроваться
updateNodes()
updateTags()
reloadTags()
}
}
Constants.RESULT_OPEN_RECORD -> {
Expand Down

0 comments on commit 707e1db

Please sign in to comment.