Changes after review

This commit is contained in:
MohitMaliDeveloper
2022-11-18 14:34:40 +05:30
parent 9dc2c48df6
commit 91031b07b0
4 changed files with 19 additions and 7 deletions

View File

@ -61,6 +61,10 @@ const val SORT_BY_DATE_AND_TIME = 2
const val TODAY_BIT = -1
const val TOMORROW_BIT = -2
// stopwatch shortcut
const val STOPWATCH_SHORTCUT_ID = "stopwatch_shortcut_id"
const val STOPWATCH_TOGGLE_ACTION = "android.intent.action.TOGGLE_STOPWATCH"
fun getDefaultTimeZoneTitle(id: Int) = getAllTimeZones().firstOrNull { it.id == id }?.title ?: ""
fun getPassedSeconds(): Int {