File tree Expand file tree Collapse file tree 3 files changed +1
-34
lines changed
kotlin/com/simplemobiletools/contacts/activities Expand file tree Collapse file tree 3 files changed +1
-34
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ android {
4141}
4242
4343dependencies {
44- implementation ' com.simplemobiletools:commons:5.2.11 '
44+ implementation ' com.simplemobiletools:commons:5.3.10 '
4545 implementation ' joda-time:joda-time:2.9.9'
4646 implementation ' com.facebook.stetho:stetho:1.5.0'
4747 implementation ' androidx.constraintlayout:constraintlayout:2.0.0-alpha2'
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ class SettingsActivity : SimpleActivity() {
3131 setupManageShownContactFields()
3232 setupManageShownTabs()
3333 setupUseEnglish()
34- setupAvoidWhatsNew()
3534 setupShowInfoBubble()
3635 setupShowContactThumbnails()
3736 setupShowPhoneNumbers()
@@ -79,14 +78,6 @@ class SettingsActivity : SimpleActivity() {
7978 }
8079 }
8180
82- private fun setupAvoidWhatsNew () {
83- settings_avoid_whats_new.isChecked = config.avoidWhatsNew
84- settings_avoid_whats_new_holder.setOnClickListener {
85- settings_avoid_whats_new.toggle()
86- config.avoidWhatsNew = settings_avoid_whats_new.isChecked
87- }
88- }
89-
9081 private fun setupShowInfoBubble () {
9182 settings_show_info_bubble.isChecked = config.showInfoBubble
9283 settings_show_info_bubble_holder.setOnClickListener {
Original file line number Diff line number Diff line change 124124
125125 </RelativeLayout >
126126
127- <RelativeLayout
128- android : id =" @+id/settings_avoid_whats_new_holder"
129- android : layout_width =" match_parent"
130- android : layout_height =" wrap_content"
131- android : layout_marginTop =" @dimen/medium_margin"
132- android : background =" ?attr/selectableItemBackground"
133- android : paddingLeft =" @dimen/normal_margin"
134- android : paddingTop =" @dimen/activity_margin"
135- android : paddingRight =" @dimen/normal_margin"
136- android : paddingBottom =" @dimen/activity_margin" >
137-
138- <com .simplemobiletools.commons.views.MySwitchCompat
139- android : id =" @+id/settings_avoid_whats_new"
140- android : layout_width =" match_parent"
141- android : layout_height =" wrap_content"
142- android : background =" @null"
143- android : clickable =" false"
144- android : paddingStart =" @dimen/medium_margin"
145- android : paddingLeft =" @dimen/medium_margin"
146- android : text =" @string/avoid_whats_new"
147- app : switchPadding =" @dimen/medium_margin" />
148-
149- </RelativeLayout >
150-
151127 <RelativeLayout
152128 android : id =" @+id/settings_show_info_bubble_holder"
153129 android : layout_width =" match_parent"
You can’t perform that action at this time.
0 commit comments