mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
update commons to 3.0.22
This commit is contained in:
@@ -43,7 +43,7 @@ ext {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.simplemobiletools:commons:3.0.21'
|
implementation 'com.simplemobiletools:commons:3.0.22'
|
||||||
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 'com.android.support:multidex:1.0.2'
|
implementation 'com.android.support:multidex:1.0.2'
|
||||||
|
@@ -292,7 +292,7 @@ class MainActivity : SimpleActivity(), NavigationListener {
|
|||||||
|
|
||||||
private fun addHolidays() {
|
private fun addHolidays() {
|
||||||
val items = getHolidayRadioItems()
|
val items = getHolidayRadioItems()
|
||||||
RadioGroupDialog(this, items, -1) {
|
RadioGroupDialog(this, items) {
|
||||||
toast(R.string.importing)
|
toast(R.string.importing)
|
||||||
Thread {
|
Thread {
|
||||||
val holidays = getString(R.string.holidays)
|
val holidays = getString(R.string.holidays)
|
||||||
|
@@ -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(MOVE_EVENTS, res.getString(R.string.move_events_into_default)))
|
||||||
add(RadioItem(DELETE_EVENTS, res.getString(R.string.remove_affected_events)))
|
add(RadioItem(DELETE_EVENTS, res.getString(R.string.remove_affected_events)))
|
||||||
}
|
}
|
||||||
RadioGroupDialog(activity, items, -1) {
|
RadioGroupDialog(activity, items) {
|
||||||
deleteEventTypes(it == DELETE_EVENTS)
|
deleteEventTypes(it == DELETE_EVENTS)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user