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

Skip to content
Commit d1f1fb40 authored by Veeti Paananen's avatar Veeti Paananen
Browse files

Hide the AM/PM preference completely if using a 24-hour clock

In addition, this commit also fixes a bug where the switch would not be
disabled on a fresh 24-hour clock install, as the preference value would
be null. This is avoided by using a higher-level method from
DateFormat to check the clock mode.

Patch Set 2: improve code styling

Patch Set 3: remove pointless application context retrieval

Change-Id: I80de938df61803649688723843439905e9909b07
parent 2413c241
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment