Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 47a89248 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update TimeFormat when locale is changed" into main

parents ee49a418 f55ad634
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -361,7 +361,10 @@ constructor(
    private val localeBroadcastReceiver =
        object : BroadcastReceiver() {
            override fun onReceive(context: Context, intent: Intent) {
                clock?.run { events.onLocaleChanged(Locale.getDefault()) }
                clock?.run {
                    events.onLocaleChanged(Locale.getDefault())
                    events.onTimeFormatChanged(getTimeFormatKind())
                }
            }
        }