diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SettingsActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SettingsActivity.kt
index db12b773a..177f1a904 100644
--- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SettingsActivity.kt
+++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SettingsActivity.kt
@@ -38,6 +38,7 @@ class SettingsActivity : SimpleActivity() {
override fun onResume() {
super.onResume()
+ setupPurchaseThankYou()
setupCustomizeColors()
setupUseEnglish()
setupAvoidWhatsNew()
@@ -87,6 +88,13 @@ class SettingsActivity : SimpleActivity() {
}
}
+ private fun setupPurchaseThankYou() {
+ settings_purchase_thank_you_holder.beVisibleIf(!isThankYouInstalled())
+ settings_purchase_thank_you_holder.setOnClickListener {
+ launchPurchaseThankYouIntent()
+ }
+ }
+
private fun setupCustomizeColors() {
settings_customize_colors_holder.setOnClickListener {
startCustomizationActivity()
diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml
index e9ef6cb2e..6c70a99df 100644
--- a/app/src/main/res/layout/activity_settings.xml
+++ b/app/src/main/res/layout/activity_settings.xml
@@ -11,6 +11,28 @@
android:layout_height="wrap_content"
android:orientation="vertical">
+
+
+
+
+
+