Skip to content

Commit

Permalink
fake changes 1
Browse files Browse the repository at this point in the history
  • Loading branch information
jesmrec committed Jan 31, 2025
1 parent e61ea92 commit 7231361
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,7 @@ class MdmProvider(
val setupValue: String = context.resources.getString(stringKey)

return if (isMdmFlavor()) {
preferencesProvider.getString(key = mdmKey, defaultValue = setupValue) ?: throw IllegalStateException("Key $stringKey is not supported")
} else {
setupValue
}
preferencesProvider.getString(key = mdmKey, defaultValue = setupValue) ?: throw IllegalStateException("Key $stringKey is not supported") } else { setupValue }
}

fun getBrandingBoolean(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ class DownloadFileWorker(
}

val percent: Int = if (totalToTransfer == -1L) -1 else (100.0 * totalTransferredSoFar.toDouble() / totalToTransfer.toDouble()).toInt()
if (percent == lastPercent) return
if (percent == lastPercent) return

// Set current progress. Observers will listen.
CoroutineScope(Dispatchers.IO).launch {
Expand Down

0 comments on commit 7231361

Please sign in to comment.