|
@@ -45,11 +45,12 @@ class ExtensionDetailsController(bundle: Bundle? = null) :
|
|
val extension = presenter.extension ?: return
|
|
val extension = presenter.extension ?: return
|
|
val context = view.context
|
|
val context = view.context
|
|
|
|
|
|
|
|
+ extension.getApplicationIcon(context)?.let { binding.extensionIcon.setImageDrawable(it) }
|
|
binding.extensionTitle.text = extension.name
|
|
binding.extensionTitle.text = extension.name
|
|
binding.extensionVersion.text = context.getString(R.string.ext_version_info, extension.versionName)
|
|
binding.extensionVersion.text = context.getString(R.string.ext_version_info, extension.versionName)
|
|
binding.extensionLang.text = context.getString(R.string.ext_language_info, LocaleHelper.getSourceDisplayName(extension.lang, context))
|
|
binding.extensionLang.text = context.getString(R.string.ext_language_info, LocaleHelper.getSourceDisplayName(extension.lang, context))
|
|
binding.extensionPkg.text = extension.pkgName
|
|
binding.extensionPkg.text = extension.pkgName
|
|
- extension.getApplicationIcon(context)?.let { binding.extensionIcon.setImageDrawable(it) }
|
|
|
|
|
|
+
|
|
binding.extensionUninstallButton.clicks()
|
|
binding.extensionUninstallButton.clicks()
|
|
.onEach { presenter.uninstallExtension() }
|
|
.onEach { presenter.uninstallExtension() }
|
|
.launchIn(scope)
|
|
.launchIn(scope)
|