Skip to content

Commit

Permalink
refactor: syntax changes
Browse files Browse the repository at this point in the history
  • Loading branch information
joragua committed Apr 22, 2024
1 parent 2f6970c commit 57eb415
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ class PreviewTextFragment : FileFragment() {
override fun onPrepareOptionsMenu(menu: Menu) {
mContainerActivity.storageManager?.let {
val safeFile = file
val accountName = mContainerActivity.storageManager.account.name
val accountName = it.account.name
previewTextViewModel.filterMenuOptions(safeFile, accountName)

collectLatestLifecycleFlow(previewTextViewModel.menuOptions) { menuOptions ->
Expand Down

0 comments on commit 57eb415

Please sign in to comment.