replace all listed days with Every day at alarm repetitions
This commit is contained in:
parent
3bebbebf0d
commit
453490a023
|
@ -63,7 +63,7 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:c47a13a8da'
|
||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:4c42fec8a4'
|
||||
implementation 'com.facebook.stetho:stetho:1.5.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
|
||||
implementation 'com.shawnlin:number-picker:2.4.6'
|
||||
|
|
|
@ -32,6 +32,7 @@ import com.simplemobiletools.clock.receivers.HideTimerReceiver
|
|||
import com.simplemobiletools.clock.services.SnoozeService
|
||||
import com.simplemobiletools.commons.extensions.*
|
||||
import com.simplemobiletools.commons.helpers.DAY_MINUTES
|
||||
import com.simplemobiletools.commons.helpers.EVERY_DAY_BIT
|
||||
import com.simplemobiletools.commons.helpers.SILENT
|
||||
import java.util.*
|
||||
import kotlin.math.pow
|
||||
|
@ -457,6 +458,7 @@ fun Context.getAlarmSelectedDaysString(bitMask: Int): String {
|
|||
return when (bitMask) {
|
||||
TODAY_BIT -> getString(R.string.today)
|
||||
TOMORROW_BIT -> getString(R.string.tomorrow)
|
||||
EVERY_DAY_BIT -> getString(R.string.every_day)
|
||||
else -> getSelectedDaysString(bitMask)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue