diff --git a/app/build.gradle b/app/build.gradle index e43308f5f7..0e02ca86f9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,8 +10,8 @@ android { applicationId "org.ole.planet.myplanet" minSdkVersion 21 targetSdkVersion 34 - versionCode 1088 - versionName "0.10.88" + versionCode 1089 + versionName "0.10.89" ndkVersion '21.3.6528147' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true diff --git a/app/src/main/java/org/ole/planet/myplanet/ui/dashboard/AboutFragment.kt b/app/src/main/java/org/ole/planet/myplanet/ui/dashboard/AboutFragment.kt index 56fac2e585..c93c8121bb 100644 --- a/app/src/main/java/org/ole/planet/myplanet/ui/dashboard/AboutFragment.kt +++ b/app/src/main/java/org/ole/planet/myplanet/ui/dashboard/AboutFragment.kt @@ -1,5 +1,6 @@ package org.ole.planet.myplanet.ui.dashboard +import android.R import android.os.Build import android.os.Bundle import android.text.Html @@ -17,7 +18,11 @@ class AboutFragment : Fragment() { @RequiresApi(Build.VERSION_CODES.N) override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { fragmentAboutBinding = FragmentAboutBinding.inflate(inflater, container, false) - fragmentAboutBinding.tvDisclaimer.text = Html.fromHtml(getString(Constants.ABOUT), HtmlCompat.FROM_HTML_MODE_LEGACY) + val versionString = "${resources.getText(org.ole.planet.myplanet.R.string.version)}: ${resources.getText(org.ole.planet.myplanet.R.string.app_version)}" + val aboutText = getString(Constants.ABOUT) + + val newAboutText: String = aboutText.replace("