diff --git a/app/src/main/java/emu/skyline/AppDialog.kt b/app/src/main/java/emu/skyline/AppDialog.kt index 3c7e0306..f7e1493d 100644 --- a/app/src/main/java/emu/skyline/AppDialog.kt +++ b/app/src/main/java/emu/skyline/AppDialog.kt @@ -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.gameSubtitle.text = item.subTitle ?: item.loaderResultString(requireContext()) + binding.gameAuthor.text = item.author ?: item.loaderResultString(requireContext()) binding.gamePlay.isEnabled = item.loaderResult == LoaderResult.Success binding.gamePlay.setOnClickListener { diff --git a/app/src/main/java/emu/skyline/adapter/AppViewItem.kt b/app/src/main/java/emu/skyline/adapter/AppViewItem.kt index 2a99db32..4c7b3ac0 100644 --- a/app/src/main/java/emu/skyline/adapter/AppViewItem.kt +++ b/app/src/main/java/emu/skyline/adapter/AppViewItem.kt @@ -46,7 +46,7 @@ interface LayoutBinding : ViewBinding { val textVersion : TextView - val textSubtitle : TextView + val textAuthor : TextView val icon : ImageView } @@ -58,7 +58,7 @@ class ListBinding(parent : ViewGroup) : LayoutBinding { override val textVersion = binding.textVersion - override val textSubtitle = binding.textSubtitle + override val textAuthor = binding.textAuthor override val icon = binding.icon } @@ -70,7 +70,7 @@ class GridBinding(parent : ViewGroup) : LayoutBinding { override val textVersion = binding.textVersion - override val textSubtitle = binding.textSubtitle + override val textAuthor = binding.textAuthor override val icon = binding.icon } @@ -82,7 +82,7 @@ class GridCompatBinding(parent : ViewGroup) : LayoutBinding + app:layout_constraintTop_toBottomOf="@id/game_author">