From e45a2a91d44c70f796312ea839c4e0d72e669d29 Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 9 Nov 2018 11:32:20 +0100 Subject: [PATCH] removing some Upgrade to Pro related things --- .../calendar/activities/SettingsActivity.kt | 8 ------- app/src/main/res/layout/activity_settings.xml | 22 ------------------- 2 files changed, 30 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/SettingsActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/SettingsActivity.kt index c01437ee7..2f10fd462 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/SettingsActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/SettingsActivity.kt @@ -43,7 +43,6 @@ class SettingsActivity : SimpleActivity() { override fun onResume() { super.onResume() - setupUpgradeToPro() setupCustomizeColors() setupUseEnglish() setupManageEventTypes() @@ -110,13 +109,6 @@ class SettingsActivity : SimpleActivity() { } } - private fun setupUpgradeToPro() { - settings_upgrade_to_pro_holder.beGoneIf(isAProApp()) - settings_upgrade_to_pro_holder.setOnClickListener { - launchUpgradeToProIntent() - } - } - 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 14a6dade8..155365baa 100644 --- a/app/src/main/res/layout/activity_settings.xml +++ b/app/src/main/res/layout/activity_settings.xml @@ -11,28 +11,6 @@ android:layout_height="wrap_content" android:orientation="vertical"> - - - - - -