Fix GalleryDetailScene tag display
This commit is contained in:
1 parent
ba8e517e98
commit
821f9f8037
1 file changed
+3
-2
@@ -1121,15 +1121,16 @@ class GalleryDetailScene : BaseScene(), DownloadInfoListener {
|
||||
val weak = it.startsWith('_')
|
||||
val real = it.removePrefix("_")
|
||||
val translated = real.translate(prefix)
|
||||
val tag = this@run + ":" + real
|
||||
fun onClick() {
|
||||
val lub = ListUrlBuilder()
|
||||
lub.mode = ListUrlBuilder.MODE_TAG
|
||||
lub.keyword = this@run + ":" + real
|
||||
lub.keyword = tag
|
||||
navigate(R.id.galleryListScene, lub.toStartArgs(), true)
|
||||
}
|
||||
|
||||
fun onLongClick() {
|
||||
showTagDialog(translated, real)
|
||||
showTagDialog(translated, tag)
|
||||
}
|
||||
baseRoundText(
|
||||
text = translated,
|
||||
|
||||
Reference in new issue
Block a user