mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-17 15:26:23 +00:00
[fenix] Show internal add-on version when available (https://github.com/mozilla-mobile/fenix/pull/8507)
This commit is contained in:
parent
c87350f5b3
commit
61e774fd16
@ -72,7 +72,8 @@ class AddonDetailsFragment : Fragment(R.layout.fragment_add_on_details) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun bindVersion(addon: Addon, view: View) {
|
private fun bindVersion(addon: Addon, view: View) {
|
||||||
view.version_text.text = addon.version
|
view.version_text.text =
|
||||||
|
addon.installedState?.version?.ifEmpty { addon.version } ?: addon.version
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun bindAuthors(addon: Addon, view: View) {
|
private fun bindAuthors(addon: Addon, view: View) {
|
||||||
|
Loading…
Reference in New Issue
Block a user