Skip to content

Commit

Permalink
Kotlin syntax update
Browse files Browse the repository at this point in the history
  • Loading branch information
blootsvoets committed Jul 8, 2021
1 parent f36764c commit a79bae7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,7 @@ class OfflineProcessor(private val context: Context,

private fun schedule() {
val runImmediately = Debug.isDebuggerConnected()
val firstAlarm: Long
firstAlarm = if (runImmediately) {
val firstAlarm: Long = if (runImmediately) {
trigger()
SystemClock.elapsedRealtime() + config.intervalMillis
} else {
Expand Down

0 comments on commit a79bae7

Please sign in to comment.