trigger a message refresh when the date/time format changes
This commit is contained in:
parent
3cf6ce2e37
commit
049b8f9877
|
@ -8,7 +8,9 @@ import com.simplemobiletools.commons.extensions.launchPurchaseThankYouIntent
|
|||
import com.simplemobiletools.commons.extensions.updateTextColors
|
||||
import com.simplemobiletools.smsmessenger.R
|
||||
import com.simplemobiletools.smsmessenger.extensions.config
|
||||
import com.simplemobiletools.smsmessenger.models.Events
|
||||
import kotlinx.android.synthetic.main.activity_settings.*
|
||||
import org.greenrobot.eventbus.EventBus
|
||||
import java.util.*
|
||||
|
||||
class SettingsActivity : SimpleActivity() {
|
||||
|
@ -53,7 +55,9 @@ class SettingsActivity : SimpleActivity() {
|
|||
|
||||
private fun setupChangeDateTimeFormat() {
|
||||
settings_change_date_time_format_holder.setOnClickListener {
|
||||
ChangeDateTimeFormatDialog(this) {}
|
||||
ChangeDateTimeFormatDialog(this) {
|
||||
EventBus.getDefault().post(Events.RefreshMessages())
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue