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

Commit 9c3a4713 authored by /e/ robot's avatar /e/ robot
Browse files

Merge remote-tracking branch 'origin/lineage-22.2' into a15

parents 18de118e 30eba5b3
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -227,7 +227,9 @@ constructor(
    override fun getCurrentColorOption(): ColorOptionModel {
        val overlays = colorManager.currentOverlays
        val styleOrNull = colorManager.currentStyle
        val style = styleOrNull?.let { Style.valueOf(it) } ?: Style.TONAL_SPOT
        val style = runCatching {
            styleOrNull?.let { Style.valueOf(it) }
        }.getOrNull() ?: Style.TONAL_SPOT
        val source = colorManager.currentColorSource
        val colorOptionBuilder = ColorOptionImpl.Builder()
        colorOptionBuilder.source = source