update commons to 5.3.15

This commit is contained in:
tibbi 2018-11-08 23:20:28 +01:00
parent cdbe5856f2
commit 1d26af5dc0
4 changed files with 2 additions and 34 deletions

View file

@ -42,7 +42,7 @@ android {
} }
dependencies { dependencies {
implementation 'com.simplemobiletools:commons:5.2.6' implementation 'com.simplemobiletools:commons:5.3.15'
implementation 'joda-time:joda-time:2.9.9' implementation 'joda-time:joda-time:2.9.9'
implementation 'com.facebook.stetho:stetho:1.5.0' implementation 'com.facebook.stetho:stetho:1.5.0'
implementation 'androidx.multidex:multidex:2.0.0' implementation 'androidx.multidex:multidex:2.0.0'

View file

@ -49,7 +49,6 @@ class SettingsActivity : SimpleActivity() {
setupManageEventTypes() setupManageEventTypes()
setupHourFormat() setupHourFormat()
setupSundayFirst() setupSundayFirst()
setupAvoidWhatsNew()
setupDeleteAllEvents() setupDeleteAllEvents()
setupReplaceDescription() setupReplaceDescription()
setupWeekNumbers() setupWeekNumbers()
@ -252,14 +251,6 @@ class SettingsActivity : SimpleActivity() {
} }
} }
private fun setupAvoidWhatsNew() {
settings_avoid_whats_new.isChecked = config.avoidWhatsNew
settings_avoid_whats_new_holder.setOnClickListener {
settings_avoid_whats_new.toggle()
config.avoidWhatsNew = settings_avoid_whats_new.isChecked
}
}
private fun setupDeleteAllEvents() { private fun setupDeleteAllEvents() {
settings_delete_all_events_holder.setOnClickListener { settings_delete_all_events_holder.setOnClickListener {
ConfirmationDialog(this, messageId = R.string.delete_all_events_confirmation) { ConfirmationDialog(this, messageId = R.string.delete_all_events_confirmation) {

View file

@ -146,29 +146,6 @@
</RelativeLayout> </RelativeLayout>
<RelativeLayout
android:id="@+id/settings_avoid_whats_new_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.MySwitchCompat
android:id="@+id/settings_avoid_whats_new"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@null"
android:clickable="false"
android:paddingStart="@dimen/medium_margin"
android:paddingLeft="@dimen/medium_margin"
android:text="@string/avoid_whats_new"/>
</RelativeLayout>
<View <View
android:id="@+id/reminders_divider" android:id="@+id/reminders_divider"
android:layout_width="match_parent" android:layout_width="match_parent"

View file

@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { buildscript {
ext.kotlin_version = '1.2.71' ext.kotlin_version = '1.3.0'
repositories { repositories {
google() google()