Remove printing result message from author

There is no purpose in printing the same result twice, so any duplicate messages should instead allow the field to be truncated.
This commit is contained in:
Abandoned Cart 2022-08-25 09:08:52 -04:00 committed by Mark Collins
parent 1013857fc4
commit 86f6fc510e
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ class AppDialog : BottomSheetDialogFragment() {
binding.gameIcon.setImageBitmap(item.icon ?: missingIcon)
binding.gameTitle.text = item.title
binding.gameVersion.text = item.version ?: item.loaderResultString(requireContext())
binding.gameAuthor.text = item.author ?: item.loaderResultString(requireContext())
binding.gameAuthor.text = item.author
binding.gamePlay.isEnabled = item.loaderResult == LoaderResult.Success
binding.gamePlay.setOnClickListener {

View File

@ -96,7 +96,7 @@ class AppViewItem(var layoutType : LayoutType, private val item : AppItem, priva
val binding = holder.binding
binding.textTitle.text = item.title
binding.textVersion.text = item.version ?: item.loaderResultString(binding.root.context)
binding.textAuthor.text = item.author ?: item.loaderResultString(binding.root.context)
binding.textAuthor.text = item.author
binding.icon.setImageBitmap(item.icon ?: missingIcon)