update commons to 3.0.22

This commit is contained in:
tibbi 2017-12-01 23:50:46 +01:00
parent 372bafbd1d
commit 0408dacc9b
3 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@ ext {
}
dependencies {
implementation 'com.simplemobiletools:commons:3.0.21'
implementation 'com.simplemobiletools:commons:3.0.22'
implementation 'joda-time:joda-time:2.9.9'
implementation 'com.facebook.stetho:stetho:1.5.0'
implementation 'com.android.support:multidex:1.0.2'

View file

@ -292,7 +292,7 @@ class MainActivity : SimpleActivity(), NavigationListener {
private fun addHolidays() {
val items = getHolidayRadioItems()
RadioGroupDialog(this, items, -1) {
RadioGroupDialog(this, items) {
toast(R.string.importing)
Thread {
val holidays = getString(R.string.holidays)

View file

@ -73,7 +73,7 @@ class ManageEventTypesAdapter(activity: SimpleActivity, val eventTypes: ArrayLis
add(RadioItem(MOVE_EVENTS, res.getString(R.string.move_events_into_default)))
add(RadioItem(DELETE_EVENTS, res.getString(R.string.remove_affected_events)))
}
RadioGroupDialog(activity, items, -1) {
RadioGroupDialog(activity, items) {
deleteEventTypes(it == DELETE_EVENTS)
}
} else {