removing some Upgrade to Pro related things

This commit is contained in:
tibbi 2018-11-09 11:32:20 +01:00
parent b60e53c679
commit e45a2a91d4
2 changed files with 0 additions and 30 deletions

View File

@ -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()

View File

@ -11,28 +11,6 @@
android:layout_height="wrap_content"
android:orientation="vertical">
<RelativeLayout
android:id="@+id/settings_upgrade_to_pro_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/medium_margin"
android:background="?attr/selectableItemBackground"
android:paddingLeft="@dimen/normal_margin"
android:paddingTop="@dimen/activity_margin"
android:paddingRight="@dimen/normal_margin"
android:paddingBottom="@dimen/activity_margin">
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/settings_upgrade_to_pro"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:paddingStart="@dimen/medium_margin"
android:paddingLeft="@dimen/medium_margin"
android:text="@string/upgrade_to_pro"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/settings_customize_colors_holder"
android:layout_width="match_parent"