diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Add.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Add.kt index b58fbba4d..cceaa9fbc 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Add.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Add.kt @@ -20,15 +20,14 @@ import com.infomaniak.swisstransfer.ui.icons.AppIcons val AppIcons.Add: ImageVector get() { - if (_add != null) { - return _add!! - } + if (_add != null) return _add!! + _add = Builder( name = "Add", defaultWidth = 24.0.dp, defaultHeight = 24.0.dp, viewportWidth = 24.0f, - viewportHeight = 24.0f + viewportHeight = 24.0f, ).apply { group { path( @@ -38,7 +37,7 @@ val AppIcons.Add: ImageVector strokeLineCap = Round, strokeLineJoin = StrokeJoin.Round, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(1.5f, 12.0f) horizontalLineToRelative(21.0f) @@ -47,6 +46,7 @@ val AppIcons.Add: ImageVector } } }.build() + return _add!! } @@ -59,7 +59,7 @@ private fun Preview() { Image( imageVector = AppIcons.Add, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/ArrowDownCircle.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/ArrowDownCircle.kt index f820d80d7..74c2e55df 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/ArrowDownCircle.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/ArrowDownCircle.kt @@ -38,15 +38,15 @@ import com.infomaniak.swisstransfer.ui.icons.AppIcons val AppIcons.ArrowDownCircle: ImageVector get() { - if (_arrowDownCircle != null) { - return _arrowDownCircle!! - } + + if (_arrowDownCircle != null) return _arrowDownCircle!! + _arrowDownCircle = Builder( name = "ArrowDownCircle", defaultWidth = 24.0.dp, defaultHeight = 24.0.dp, viewportWidth = 24.0f, - viewportHeight = 24.0f + viewportHeight = 24.0f, ).apply { path( fill = null, @@ -55,7 +55,7 @@ val AppIcons.ArrowDownCircle: ImageVector strokeLineCap = StrokeCap.Round, strokeLineJoin = Round, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(12.0f, 16.5f) verticalLineToRelative(-9.0f) @@ -70,7 +70,7 @@ val AppIcons.ArrowDownCircle: ImageVector strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(12.0f, 22.5f) curveToRelative(5.799f, 0.0f, 10.5f, -4.701f, 10.5f, -10.5f) @@ -80,6 +80,7 @@ val AppIcons.ArrowDownCircle: ImageVector close() } }.build() + return _arrowDownCircle!! } @@ -92,7 +93,7 @@ private fun Preview() { Image( imageVector = AppIcons.ArrowDownCircle, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/ArrowLeft.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/ArrowLeft.kt index a1f6ec9cf..bdd2d452e 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/ArrowLeft.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/ArrowLeft.kt @@ -19,15 +19,15 @@ import com.infomaniak.swisstransfer.ui.icons.AppIcons val AppIcons.ArrowLeft: ImageVector get() { - if (_arrowLeft != null) { - return _arrowLeft!! - } + + if (_arrowLeft != null) return _arrowLeft!! + _arrowLeft = Builder( name = "ArrowLeft", defaultWidth = 24.0.dp, defaultHeight = 24.0.dp, viewportWidth = 24.0f, - viewportHeight = 24.0f + viewportHeight = 24.0f, ).apply { path( fill = null, @@ -36,7 +36,7 @@ val AppIcons.ArrowLeft: ImageVector strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(23.25f, 12.0f) horizontalLineTo(0.75f) @@ -45,6 +45,7 @@ val AppIcons.ArrowLeft: ImageVector lineToRelative(10.5f, 10.5f) } }.build() + return _arrowLeft!! } @@ -57,7 +58,7 @@ private fun Preview() { Image( imageVector = AppIcons.ArrowLeft, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/ArrowUpCircle.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/ArrowUpCircle.kt index 727b2d4a8..9b3dcfea9 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/ArrowUpCircle.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/ArrowUpCircle.kt @@ -38,15 +38,15 @@ import com.infomaniak.swisstransfer.ui.icons.AppIcons val AppIcons.ArrowUpCircle: ImageVector get() { - if (_arrowUpCircle != null) { - return _arrowUpCircle!! - } + + if (_arrowUpCircle != null) return _arrowUpCircle!! + _arrowUpCircle = Builder( name = "ArrowUpCircle", defaultWidth = 24.0.dp, defaultHeight = 24.0.dp, viewportWidth = 24.0f, - viewportHeight = 24.0f + viewportHeight = 24.0f, ).apply { path( fill = null, @@ -55,7 +55,7 @@ val AppIcons.ArrowUpCircle: ImageVector strokeLineCap = Round, strokeLineJoin = StrokeJoin.Round, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(12.0f, 7.5f) verticalLineToRelative(9.0f) @@ -70,7 +70,7 @@ val AppIcons.ArrowUpCircle: ImageVector strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(12.0f, 1.5f) curveToRelative(5.799f, 0.0f, 10.5f, 4.701f, 10.5f, 10.5f) @@ -80,6 +80,7 @@ val AppIcons.ArrowUpCircle: ImageVector close() } }.build() + return _arrowUpCircle!! } @@ -92,7 +93,7 @@ private fun Preview() { Image( imageVector = AppIcons.ArrowUpCircle, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Bell.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Bell.kt index 42f81e783..9c6a695ff 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Bell.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Bell.kt @@ -19,15 +19,15 @@ import androidx.compose.ui.graphics.StrokeJoin.Companion.Round as strokeJoinRoun val AppIcons.Bell: ImageVector get() { - if (_notificationBell != null) { - return _notificationBell!! - } + + if (_notificationBell != null) return _notificationBell!! + _notificationBell = Builder( name = "Bell", defaultWidth = 24.0.dp, defaultHeight = 24.0.dp, viewportWidth = 24.0f, - viewportHeight = 24.0f + viewportHeight = 24.0f, ).apply { path( fill = null, @@ -36,7 +36,7 @@ val AppIcons.Bell: ImageVector strokeLineCap = strokeCapRound, strokeLineJoin = strokeJoinRound, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(9.0f, 20.0f) curveToRelative(0.19f, 0.866f, 0.585f, 1.626f, 1.126f, 2.167f) @@ -53,6 +53,7 @@ val AppIcons.Bell: ImageVector arcTo(7.5f, 7.5f, 0.0f, false, true, 12.0f, 4.0f) } }.build() + return _notificationBell!! } @@ -65,7 +66,7 @@ private fun Preview() { Image( imageVector = AppIcons.Bell, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/BlackAndWhiteCircle.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/BlackAndWhiteCircle.kt index 512a59f28..2bb168051 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/BlackAndWhiteCircle.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/BlackAndWhiteCircle.kt @@ -21,15 +21,15 @@ import com.infomaniak.swisstransfer.ui.icons.AppIcons val AppIcons.BlackAndWhiteCircle: ImageVector get() { - if (_blackAndWhiteCircle != null) { - return _blackAndWhiteCircle!! - } + + if (_blackAndWhiteCircle != null) return _blackAndWhiteCircle!! + _blackAndWhiteCircle = Builder( name = "BlackAndWhiteCircle", defaultWidth = 24.0.dp, defaultHeight = 24.0.dp, viewportWidth = 24.0f, - viewportHeight = 24.0f + viewportHeight = 24.0f, ).apply { path( fill = SolidColor(Color(0xFF000000)), @@ -38,7 +38,7 @@ val AppIcons.BlackAndWhiteCircle: ImageVector strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(12.0f, 0.0f) arcToRelative(12.0f, 12.0f, 0.0f, false, true, 12.0f, 12.0f) @@ -62,7 +62,7 @@ val AppIcons.BlackAndWhiteCircle: ImageVector strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(-4.5f, 27.5f) lineTo(27.0f, -2.5f) @@ -76,7 +76,7 @@ val AppIcons.BlackAndWhiteCircle: ImageVector strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(12.0f, 0.15f) arcTo(11.85f, 11.85f, 0.0f, false, true, 23.85f, 12.0f) @@ -87,6 +87,7 @@ val AppIcons.BlackAndWhiteCircle: ImageVector } } }.build() + return _blackAndWhiteCircle!! } @@ -99,7 +100,7 @@ private fun Preview() { Image( imageVector = AppIcons.BlackAndWhiteCircle, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/BlackCircle.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/BlackCircle.kt index 118b5cf08..dd723def1 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/BlackCircle.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/BlackCircle.kt @@ -19,20 +19,24 @@ import com.infomaniak.swisstransfer.ui.icons.AppIcons val AppIcons.BlackCircle: ImageVector get() { - if (_blackCircle != null) { - return _blackCircle!! - } + + if (_blackCircle != null) return _blackCircle!! + _blackCircle = Builder( name = "BlackCircle", defaultWidth = 24.0.dp, defaultHeight = 24.0.dp, viewportWidth = 24.0f, - viewportHeight = 24.0f + viewportHeight = 24.0f, ).apply { path( - fill = SolidColor(Color(0xFF000000)), stroke = SolidColor(Color(0xFF000000)), - strokeLineWidth = 0.3f, strokeLineCap = Butt, strokeLineJoin = Miter, - strokeLineMiter = 4.0f, pathFillType = NonZero + fill = SolidColor(Color(0xFF000000)), + stroke = SolidColor(Color(0xFF000000)), + strokeLineWidth = 0.3f, + strokeLineCap = Butt, + strokeLineJoin = Miter, + strokeLineMiter = 4.0f, + pathFillType = NonZero, ) { moveTo(12.0f, 0.15f) arcTo(11.85f, 11.85f, 0.0f, false, true, 23.85f, 12.0f) @@ -43,6 +47,7 @@ val AppIcons.BlackCircle: ImageVector } } .build() + return _blackCircle!! } @@ -55,7 +60,7 @@ private fun Preview() { Image( imageVector = AppIcons.BlackCircle, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Camera.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Camera.kt index b56da8219..4b56f89e3 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Camera.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Camera.kt @@ -19,15 +19,15 @@ import com.infomaniak.swisstransfer.ui.icons.AppIcons val AppIcons.Camera: ImageVector get() { - if (_camera != null) { - return _camera!! - } + + if (_camera != null) return _camera!! + _camera = Builder( name = "Camera", defaultWidth = 24.0.dp, defaultHeight = 24.0.dp, viewportWidth = 24.0f, - viewportHeight = 24.0f + viewportHeight = 24.0f, ).apply { path( fill = null, @@ -36,7 +36,7 @@ val AppIcons.Camera: ImageVector strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(2.698f, 7.115f) lineToRelative(0.027f, -0.98f) @@ -52,7 +52,7 @@ val AppIcons.Camera: ImageVector strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(19.96f, 7.115f) arcToRelative(0.98f, 0.98f, 0.0f, false, true, -0.886f, -0.565f) @@ -77,7 +77,7 @@ val AppIcons.Camera: ImageVector strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(14.448f, 18.865f) arcToRelative(5.386f, 5.386f, 0.0f, true, false, 0.0f, -10.771f) @@ -91,7 +91,7 @@ val AppIcons.Camera: ImageVector strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(14.448f, 16.417f) arcToRelative(2.937f, 2.937f, 0.0f, true, false, 0.0f, -5.875f) @@ -103,6 +103,7 @@ val AppIcons.Camera: ImageVector close() } }.build() + return _camera!! } @@ -115,7 +116,7 @@ private fun Preview() { Image( imageVector = AppIcons.Camera, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Checkmark.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Checkmark.kt index 182d7eca8..3c3224553 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Checkmark.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Checkmark.kt @@ -19,15 +19,15 @@ import androidx.compose.ui.graphics.StrokeJoin.Companion.Round as strokeJoinRoun val AppIcons.Checkmark: ImageVector get() { - if (_checkmark != null) { - return _checkmark!! - } + + if (_checkmark != null) return _checkmark!! + _checkmark = Builder( name = "Checkmark", defaultWidth = 16.0.dp, defaultHeight = 16.0.dp, viewportWidth = 16.0f, - viewportHeight = 16.0f + viewportHeight = 16.0f, ).apply { path( fill = null, @@ -36,13 +36,14 @@ val AppIcons.Checkmark: ImageVector strokeLineCap = strokeCapRound, strokeLineJoin = strokeJoinRound, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(15.0f, 3.0f) lineTo(5.593f, 13.419f) lineTo(1.0f, 9.085f) } }.build() + return _checkmark!! } @@ -55,7 +56,7 @@ private fun Preview() { Image( imageVector = AppIcons.Checkmark, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/ChevronRightSmall.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/ChevronRightSmall.kt index 8f9cc3dae..db0d681dc 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/ChevronRightSmall.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/ChevronRightSmall.kt @@ -19,15 +19,15 @@ import androidx.compose.ui.graphics.StrokeJoin.Companion.Round as strokeJoinRoun val AppIcons.ChevronRightSmall: ImageVector get() { - if (_chevronRightSmall != null) { - return _chevronRightSmall!! - } + + if (_chevronRightSmall != null) return _chevronRightSmall!! + _chevronRightSmall = Builder( name = "ChevronRightSmall", defaultWidth = 16.0.dp, defaultHeight = 16.0.dp, viewportWidth = 16.0f, - viewportHeight = 16.0f + viewportHeight = 16.0f, ).apply { path( fill = null, @@ -36,7 +36,7 @@ val AppIcons.ChevronRightSmall: ImageVector strokeLineCap = strokeCapRound, strokeLineJoin = strokeJoinRound, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(4.0f, 1.0f) lineToRelative(7.338f, 6.67f) @@ -45,6 +45,7 @@ val AppIcons.ChevronRightSmall: ImageVector lineTo(4.0f, 15.0f) } }.build() + return _chevronRightSmall!! } @@ -57,7 +58,7 @@ private fun Preview() { Image( imageVector = AppIcons.ChevronRightSmall, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Clock.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Clock.kt index c0243b6cb..701aef606 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Clock.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Clock.kt @@ -20,11 +20,15 @@ import androidx.compose.ui.graphics.StrokeJoin.Companion.Round as strokeJoinRoun val AppIcons.Clock: ImageVector get() { - if (_clock != null) { - return _clock!! - } + + if (_clock != null) return _clock!! + _clock = Builder( - name = "Clock", defaultWidth = 24.0.dp, defaultHeight = 24.0.dp, viewportWidth = 24.0f, viewportHeight = 24.0f + name = "Clock", + defaultWidth = 24.0.dp, + defaultHeight = 24.0.dp, + viewportWidth = 24.0f, + viewportHeight = 24.0f, ).apply { group { path( @@ -34,7 +38,7 @@ val AppIcons.Clock: ImageVector strokeLineCap = strokeCapRound, strokeLineJoin = strokeJoinRound, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(1.5f, 12.0f) arcToRelative(10.5f, 10.5f, 0.0f, true, false, 21.0f, 0.0f) @@ -46,6 +50,7 @@ val AppIcons.Clock: ImageVector } } }.build() + return _clock!! } @@ -58,7 +63,7 @@ private fun Preview() { Image( imageVector = AppIcons.Clock, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Cross.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Cross.kt index ea999084d..28f509637 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Cross.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Cross.kt @@ -20,11 +20,15 @@ import androidx.compose.ui.graphics.StrokeJoin.Companion.Round as strokeJoinRoun val AppIcons.Cross: ImageVector get() { - if (_cross != null) { - return _cross!! - } + + if (_cross != null) return _cross!! + _cross = Builder( - name = "Cross", defaultWidth = 24.0.dp, defaultHeight = 24.0.dp, viewportWidth = 24.0f, viewportHeight = 24.0f + name = "Cross", + defaultWidth = 24.0.dp, + defaultHeight = 24.0.dp, + viewportWidth = 24.0f, + viewportHeight = 24.0f, ).apply { group { path( @@ -34,7 +38,7 @@ val AppIcons.Cross: ImageVector strokeLineCap = strokeCapRound, strokeLineJoin = strokeJoinRound, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(0.75f, 23.249f) lineToRelative(22.5f, -22.5f) @@ -43,6 +47,7 @@ val AppIcons.Cross: ImageVector } } }.build() + return _cross!! } @@ -55,7 +60,7 @@ private fun Preview() { Image( imageVector = AppIcons.Cross, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/FileBadgeArrowDown.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/FileBadgeArrowDown.kt index 242f40756..9c316aa20 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/FileBadgeArrowDown.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/FileBadgeArrowDown.kt @@ -20,15 +20,15 @@ import androidx.compose.ui.graphics.StrokeJoin.Companion.Round as strokeJoinRoun val AppIcons.FileBadgeArrowDown: ImageVector get() { - if (_fileBadgeArrowDown != null) { - return _fileBadgeArrowDown!! - } + + if (_fileBadgeArrowDown != null) return _fileBadgeArrowDown!! + _fileBadgeArrowDown = Builder( name = "FileBadgeArrowDown", defaultWidth = 24.0.dp, defaultHeight = 24.0.dp, viewportWidth = 24.0f, - viewportHeight = 24.0f + viewportHeight = 24.0f, ).apply { group { path( @@ -38,7 +38,7 @@ val AppIcons.FileBadgeArrowDown: ImageVector strokeLineCap = strokeCapRound, strokeLineJoin = strokeJoinRound, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(11.25f, 17.25f) arcToRelative(6.0f, 6.0f, 0.0f, true, false, 12.0f, 0.0f) @@ -57,7 +57,7 @@ val AppIcons.FileBadgeArrowDown: ImageVector strokeLineCap = strokeCapRound, strokeLineJoin = strokeJoinRound, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(8.25f, 20.25f) horizontalLineToRelative(-6.0f) @@ -72,6 +72,7 @@ val AppIcons.FileBadgeArrowDown: ImageVector } } }.build() + return _fileBadgeArrowDown!! } @@ -84,7 +85,7 @@ private fun Preview() { Image( imageVector = AppIcons.FileBadgeArrowDown, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Folder.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Folder.kt index 9c761b8d0..5bb27a9ca 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Folder.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Folder.kt @@ -19,15 +19,15 @@ import com.infomaniak.swisstransfer.ui.icons.AppIcons val AppIcons.Folder: ImageVector get() { - if (_folder != null) { - return _folder!! - } + + if (_folder != null) return _folder!! + _folder = Builder( name = "Folder", defaultWidth = 24.0.dp, defaultHeight = 24.0.dp, viewportWidth = 24.0f, - viewportHeight = 24.0f + viewportHeight = 24.0f, ).apply { path( fill = null, @@ -36,7 +36,7 @@ val AppIcons.Folder: ImageVector strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(23.25f, 6.75f) arcToRelative(1.5f, 1.5f, 0.0f, false, false, -1.5f, -1.5f) @@ -52,6 +52,7 @@ val AppIcons.Folder: ImageVector close() } }.build() + return _folder!! } @@ -64,7 +65,7 @@ private fun Preview() { Image( imageVector = AppIcons.Folder, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/OpenOutside.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/OpenOutside.kt index 7dabc020f..c767a100f 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/OpenOutside.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/OpenOutside.kt @@ -20,15 +20,15 @@ import androidx.compose.ui.graphics.StrokeJoin.Companion.Round as strokeJoinRoun val AppIcons.OpenOutside: ImageVector get() { - if (_openOutside != null) { - return _openOutside!! - } + + if (_openOutside != null) return _openOutside!! + _openOutside = Builder( name = "OpenOutside", defaultWidth = 16.0.dp, defaultHeight = 16.0.dp, viewportWidth = 16.0f, - viewportHeight = 16.0f + viewportHeight = 16.0f, ).apply { group { path( @@ -38,7 +38,7 @@ val AppIcons.OpenOutside: ImageVector strokeLineCap = strokeCapRound, strokeLineJoin = strokeJoinRound, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(15.0f, 5.2f) verticalLineTo(1.0f) @@ -56,6 +56,7 @@ val AppIcons.OpenOutside: ImageVector } } }.build() + return _openOutside!! } @@ -68,7 +69,7 @@ private fun Preview() { Image( imageVector = AppIcons.OpenOutside, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/PaintbrushPalette.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/PaintbrushPalette.kt index bade550ec..a3574b57b 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/PaintbrushPalette.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/PaintbrushPalette.kt @@ -20,15 +20,15 @@ import androidx.compose.ui.graphics.StrokeJoin.Companion.Round as strokeJoinRoun val AppIcons.PaintbrushPalette: ImageVector get() { - if (_paintbrushPalette != null) { - return _paintbrushPalette!! - } + + if (_paintbrushPalette != null) return _paintbrushPalette!! + _paintbrushPalette = Builder( name = "PaintbrushPalette", defaultWidth = 24.0.dp, defaultHeight = 24.0.dp, viewportWidth = 24.0f, - viewportHeight = 24.0f + viewportHeight = 24.0f, ).apply { group { path( @@ -38,7 +38,7 @@ val AppIcons.PaintbrushPalette: ImageVector strokeLineCap = strokeCapRound, strokeLineJoin = strokeJoinRound, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(10.644f, 17.865f) curveToRelative(1.589f, -1.9f, 0.1f, -4.338f, 1.513f, -5.981f) @@ -52,7 +52,7 @@ val AppIcons.PaintbrushPalette: ImageVector strokeLineCap = strokeCapRound, strokeLineJoin = strokeJoinRound, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(16.62f, 12.277f) lineToRelative(6.232f, -8.253f) @@ -66,7 +66,7 @@ val AppIcons.PaintbrushPalette: ImageVector strokeLineCap = strokeCapRound, strokeLineJoin = strokeJoinRound, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(13.5f, 5.225f) horizontalLineTo(3.75f) @@ -79,6 +79,7 @@ val AppIcons.PaintbrushPalette: ImageVector } } }.build() + return _paintbrushPalette!! } @@ -91,7 +92,7 @@ private fun Preview() { Image( imageVector = AppIcons.PaintbrushPalette, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/PolaroidLandscape.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/PolaroidLandscape.kt index e09c34bcf..d1336169e 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/PolaroidLandscape.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/PolaroidLandscape.kt @@ -20,15 +20,15 @@ import com.infomaniak.swisstransfer.ui.icons.AppIcons val AppIcons.PolaroidLandscape: ImageVector get() { - if (_polaroidLandscape != null) { - return _polaroidLandscape!! - } + + if (_polaroidLandscape != null) return _polaroidLandscape!! + _polaroidLandscape = Builder( name = "PolaroidLandscape", defaultWidth = 24.0.dp, defaultHeight = 24.0.dp, viewportWidth = 24.0f, - viewportHeight = 24.0f + viewportHeight = 24.0f, ).apply { group { path( @@ -38,7 +38,7 @@ val AppIcons.PolaroidLandscape: ImageVector strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(21.75f, 0.75f) horizontalLineTo(2.25f) @@ -58,7 +58,7 @@ val AppIcons.PolaroidLandscape: ImageVector strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(5.25f, 17.25f) lineToRelative(3.462f, -4.616f) @@ -76,6 +76,7 @@ val AppIcons.PolaroidLandscape: ImageVector } } }.build() + return _polaroidLandscape!! } @@ -88,7 +89,7 @@ private fun Preview() { Image( imageVector = AppIcons.PolaroidLandscape, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Settings.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Settings.kt index 390bb3c41..66c0612e6 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Settings.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/Settings.kt @@ -37,15 +37,15 @@ import com.infomaniak.swisstransfer.ui.icons.AppIcons val AppIcons.Settings: ImageVector get() { - if (_settings != null) { - return _settings!! - } + + if (_settings != null) return _settings!! + _settings = Builder( name = "Settings", defaultWidth = 24.0.dp, defaultHeight = 24.0.dp, viewportWidth = 24.0f, - viewportHeight = 24.0f + viewportHeight = 24.0f, ).apply { group { path( @@ -55,7 +55,7 @@ val AppIcons.Settings: ImageVector strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f, - pathFillType = EvenOdd + pathFillType = EvenOdd, ) { moveTo(20.17f, 0.0f) curveToRelative(0.423f, 0.0f, 0.766f, 0.343f, 0.766f, 0.766f) @@ -102,6 +102,7 @@ val AppIcons.Settings: ImageVector } } }.build() + return _settings!! } @@ -114,7 +115,7 @@ private fun Preview() { Image( imageVector = AppIcons.Settings, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/SpeechBubble.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/SpeechBubble.kt index e32880f18..5484eedae 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/SpeechBubble.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/SpeechBubble.kt @@ -20,15 +20,15 @@ import androidx.compose.ui.graphics.StrokeJoin.Companion.Round as strokeJoinRoun val AppIcons.SpeechBubble: ImageVector get() { - if (_speechBubble != null) { - return _speechBubble!! - } + + if (_speechBubble != null) return _speechBubble!! + _speechBubble = Builder( name = "SpeechBubble", defaultWidth = 24.0.dp, defaultHeight = 24.0.dp, viewportWidth = 24.0f, - viewportHeight = 24.0f + viewportHeight = 24.0f, ).apply { group { path( @@ -38,7 +38,7 @@ val AppIcons.SpeechBubble: ImageVector strokeLineCap = strokeCapRound, strokeLineJoin = strokeJoinRound, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(21.75f, 18.75f) horizontalLineToRelative(-10.5f) @@ -59,6 +59,7 @@ val AppIcons.SpeechBubble: ImageVector } } }.build() + return _speechBubble!! } @@ -71,7 +72,7 @@ private fun Preview() { Image( imageVector = AppIcons.SpeechBubble, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/WhiteCircle.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/WhiteCircle.kt index 005ca9147..609183f25 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/WhiteCircle.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/app/WhiteCircle.kt @@ -19,15 +19,15 @@ import com.infomaniak.swisstransfer.ui.icons.AppIcons val AppIcons.WhiteCircle: ImageVector get() { - if (_whiteCircle != null) { - return _whiteCircle!! - } + + if (_whiteCircle != null) return _whiteCircle!! + _whiteCircle = Builder( name = "WhiteCircle", defaultWidth = 24.0.dp, defaultHeight = 24.0.dp, viewportWidth = 24.0f, - viewportHeight = 24.0f + viewportHeight = 24.0f, ).apply { path( fill = SolidColor(Color(0xFFF5F5F5)), @@ -36,7 +36,7 @@ val AppIcons.WhiteCircle: ImageVector strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(12.0f, 0.15f) arcTo(11.85f, 11.85f, 0.0f, false, true, 23.85f, 12.0f) @@ -46,6 +46,7 @@ val AppIcons.WhiteCircle: ImageVector close() } }.build() + return _whiteCircle!! } @@ -58,7 +59,7 @@ private fun Preview() { Image( imageVector = AppIcons.WhiteCircle, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/ArrowCurvedDownright.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/ArrowCurvedDownright.kt index 74d850b55..25f40cf02 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/ArrowCurvedDownright.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/ArrowCurvedDownright.kt @@ -38,15 +38,15 @@ import com.infomaniak.swisstransfer.ui.icons.AppIcons.previewSize val AppIcons.Illu.ArrowCurvedDownright: ImageVector get() { - if (_arrowcurveddownright != null) { - return _arrowcurveddownright!! - } + + if (_arrowcurveddownright != null) return _arrowcurveddownright!! + _arrowcurveddownright = Builder( name = "Arrowcurveddownright", defaultWidth = 37.0.dp, defaultHeight = 45.0.dp, viewportWidth = 37.0f, - viewportHeight = 45.0f + viewportHeight = 45.0f, ).apply { path( fill = SolidColor(Color(0xFF1A1A1A)), @@ -55,7 +55,7 @@ val AppIcons.Illu.ArrowCurvedDownright: ImageVector strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(34.0f, 44.81f) reflectiveCurveToRelative(1.352f, -0.094f, 2.001f, -0.31f) @@ -71,6 +71,7 @@ val AppIcons.Illu.ArrowCurvedDownright: ImageVector curveToRelative(4.04f, 0.0f, 6.982f, -0.005f, 11.022f, -0.005f) } }.build() + return _arrowcurveddownright!! } @@ -83,7 +84,7 @@ private fun Preview() { Image( imageVector = AppIcons.Illu.ArrowCurvedDownright, contentDescription = null, - modifier = Modifier.size(previewSize) + modifier = Modifier.size(previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/ChainTilted.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/ChainTilted.kt index 4d3f44072..af0aad374 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/ChainTilted.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/ChainTilted.kt @@ -19,15 +19,15 @@ import androidx.compose.ui.graphics.StrokeJoin.Companion.Round as strokeJoinRoun val AppIcons.Illu.ChainTilted: ImageVector get() { - if (_chainTilted != null) { - return _chainTilted!! - } + + if (_chainTilted != null) return _chainTilted!! + _chainTilted = Builder( name = "ChainTilted", defaultWidth = 120.0.dp, defaultHeight = 80.0.dp, viewportWidth = 120.0f, - viewportHeight = 80.0f + viewportHeight = 80.0f, ).apply { path( fill = null, @@ -36,7 +36,7 @@ val AppIcons.Illu.ChainTilted: ImageVector strokeLineCap = strokeCapRound, strokeLineJoin = strokeJoinRound, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(47.17f, 75.82f) lineToRelative(-4.56f, 4.56f) @@ -51,7 +51,7 @@ val AppIcons.Illu.ChainTilted: ImageVector strokeLineCap = strokeCapRound, strokeLineJoin = strokeJoinRound, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(73.88f, 12.5f) lineToRelative(3.67f, -3.67f) @@ -60,6 +60,7 @@ val AppIcons.Illu.ChainTilted: ImageVector arcToRelative(22.03f, 22.03f, 0.0f, false, true, -33.41f, -28.52f) } }.build() + return _chainTilted!! } @@ -72,7 +73,7 @@ private fun Preview() { Image( imageVector = AppIcons.Illu.ChainTilted, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/EnvelopeTilted.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/EnvelopeTilted.kt index 34e70a409..082efd0ab 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/EnvelopeTilted.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/EnvelopeTilted.kt @@ -19,15 +19,15 @@ import androidx.compose.ui.graphics.StrokeJoin.Companion.Round as strokeJoinRoun val AppIcons.Illu.EnvelopeTilted: ImageVector get() { - if (_envelopeTilted != null) { - return _envelopeTilted!! - } + + if (_envelopeTilted != null) return _envelopeTilted!! + _envelopeTilted = Builder( name = "EnvelopeTilted", defaultWidth = 120.0.dp, defaultHeight = 80.0.dp, viewportWidth = 120.0f, - viewportHeight = 80.0f + viewportHeight = 80.0f, ).apply { path( fill = null, @@ -36,7 +36,7 @@ val AppIcons.Illu.EnvelopeTilted: ImageVector strokeLineCap = strokeCapRound, strokeLineJoin = strokeJoinRound, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(85.95f, 4.79f) lineTo(63.9f, 63.07f) @@ -49,7 +49,7 @@ val AppIcons.Illu.EnvelopeTilted: ImageVector strokeLineCap = strokeCapRound, strokeLineJoin = strokeJoinRound, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(80.94f, 5.11f) lineTo(5.18f, 48.85f) @@ -62,6 +62,7 @@ val AppIcons.Illu.EnvelopeTilted: ImageVector curveToRelative(-1.85f, -3.21f, -5.9f, -4.34f, -9.03f, -2.53f) } }.build() + return _envelopeTilted!! } @@ -74,7 +75,7 @@ private fun Preview() { Image( imageVector = AppIcons.Illu.EnvelopeTilted, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/LogoInfomaniak.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/LogoInfomaniak.kt index c12f9402b..a1cb485bb 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/LogoInfomaniak.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/LogoInfomaniak.kt @@ -19,15 +19,15 @@ import com.infomaniak.swisstransfer.ui.icons.AppIcons val AppIcons.Illu.LogoInfomaniak: ImageVector get() { - if (_logoInfomaniak != null) { - return _logoInfomaniak!! - } + + if (_logoInfomaniak != null) return _logoInfomaniak!! + _logoInfomaniak = Builder( name = "LogoInfomaniak", defaultWidth = 128.0.dp, defaultHeight = 16.0.dp, viewportWidth = 128.0f, - viewportHeight = 16.0f + viewportHeight = 16.0f, ).apply { path( fill = SolidColor(Color(0xFFFFFFFF)), @@ -36,7 +36,7 @@ val AppIcons.Illu.LogoInfomaniak: ImageVector strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(0.0f, 0.26f) horizontalLineToRelative(4.34f) @@ -257,6 +257,7 @@ val AppIcons.Illu.LogoInfomaniak: ImageVector close() } }.build() + return _logoInfomaniak!! } @@ -269,7 +270,7 @@ private fun Preview() { Image( imageVector = AppIcons.Illu.LogoInfomaniak, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/LogoSwissTransfer.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/LogoSwissTransfer.kt index 399d040d0..11d991b42 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/LogoSwissTransfer.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/LogoSwissTransfer.kt @@ -20,15 +20,15 @@ import com.infomaniak.swisstransfer.ui.icons.AppIcons val AppIcons.Illu.LogoSwissTransfer: ImageVector get() { - if (_logoSwissTransfer != null) { - return _logoSwissTransfer!! - } + + if (_logoSwissTransfer != null) return _logoSwissTransfer!! + _logoSwissTransfer = Builder( name = "LogoSwissTransfer", defaultWidth = 24.0.dp, defaultHeight = 24.0.dp, viewportWidth = 24.0f, - viewportHeight = 24.0f + viewportHeight = 24.0f, ).apply { path( fill = SolidColor(Color(0xFFFFFFFF)), @@ -37,7 +37,7 @@ val AppIcons.Illu.LogoSwissTransfer: ImageVector strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(0.0f, 4.0f) arcToRelative(4.0f, 4.0f, 0.0f, false, true, 4.0f, -4.0f) @@ -58,7 +58,7 @@ val AppIcons.Illu.LogoSwissTransfer: ImageVector strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f, - pathFillType = EvenOdd + pathFillType = EvenOdd, ) { moveTo(8.783f, 4.797f) arcToRelative(0.803f, 0.803f, 0.0f, false, true, 1.04f, -0.761f) @@ -79,7 +79,7 @@ val AppIcons.Illu.LogoSwissTransfer: ImageVector strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f, - pathFillType = EvenOdd + pathFillType = EvenOdd, ) { moveTo(6.772f, 6.31f) arcToRelative(0.803f, 0.803f, 0.0f, false, true, 1.041f, -0.761f) @@ -98,7 +98,7 @@ val AppIcons.Illu.LogoSwissTransfer: ImageVector strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f, - pathFillType = EvenOdd + pathFillType = EvenOdd, ) { moveTo(4.762f, 7.823f) arcToRelative(0.803f, 0.803f, 0.0f, false, true, 1.04f, -0.761f) @@ -117,7 +117,7 @@ val AppIcons.Illu.LogoSwissTransfer: ImageVector strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f, - pathFillType = EvenOdd + pathFillType = EvenOdd, ) { moveTo(11.131f, 10.806f) arcToRelative(0.7f, 0.7f, 0.0f, false, true, 0.179f, 0.232f) @@ -138,6 +138,7 @@ val AppIcons.Illu.LogoSwissTransfer: ImageVector curveToRelative(0.118f, -0.182f, 0.39f, -0.18f, 0.607f, 0.004f) } }.build() + return _logoSwissTransfer!! } @@ -150,7 +151,7 @@ private fun Preview() { Image( imageVector = AppIcons.Illu.LogoSwissTransfer, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/QrCodeTilted.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/QrCodeTilted.kt index da2f75af6..11485d03c 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/QrCodeTilted.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/QrCodeTilted.kt @@ -19,15 +19,15 @@ import androidx.compose.ui.graphics.StrokeJoin.Companion.Round as strokeJoinRoun val AppIcons.Illu.QrCodeTilted: ImageVector get() { - if (_qrCodeTilted != null) { - return _qrCodeTilted!! - } + + if (_qrCodeTilted != null) return _qrCodeTilted!! + _qrCodeTilted = Builder( name = "QrCodeTilted", defaultWidth = 120.0.dp, defaultHeight = 80.0.dp, viewportWidth = 120.0f, - viewportHeight = 80.0f + viewportHeight = 80.0f, ).apply { path( fill = null, @@ -36,7 +36,7 @@ val AppIcons.Illu.QrCodeTilted: ImageVector strokeLineCap = strokeCapRound, strokeLineJoin = strokeJoinRound, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(15.56f, 56.33f) lineTo(29.99f, 48.0f) @@ -65,6 +65,7 @@ val AppIcons.Illu.QrCodeTilted: ImageVector lineToRelative(14.43f, -8.33f) } }.build() + return _qrCodeTilted!! } @@ -77,7 +78,7 @@ private fun Preview() { Image( imageVector = AppIcons.Illu.QrCodeTilted, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/WaveSignalTilted.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/WaveSignalTilted.kt index 430670fa2..716252b1f 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/WaveSignalTilted.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/icons/illu/WaveSignalTilted.kt @@ -19,15 +19,15 @@ import androidx.compose.ui.graphics.StrokeJoin.Companion.Round as strokeJoinRoun val AppIcons.Illu.WaveSignalTilted: ImageVector get() { - if (_waveSignalTilted != null) { - return _waveSignalTilted!! - } + + if (_waveSignalTilted != null) return _waveSignalTilted!! + _waveSignalTilted = Builder( name = "WaveSignalTilted", defaultWidth = 120.0.dp, defaultHeight = 80.0.dp, viewportWidth = 120.0f, - viewportHeight = 80.0f + viewportHeight = 80.0f, ).apply { path( fill = null, @@ -36,7 +36,7 @@ val AppIcons.Illu.WaveSignalTilted: ImageVector strokeLineCap = strokeCapRound, strokeLineJoin = strokeJoinRound, strokeLineMiter = 4.0f, - pathFillType = NonZero + pathFillType = NonZero, ) { moveTo(93.93f, 50.48f) arcToRelative(32.97f, 32.97f, 0.0f, false, false, -40.38f, 23.31f) @@ -46,6 +46,7 @@ val AppIcons.Illu.WaveSignalTilted: ImageVector arcToRelative(72.53f, 72.53f, 0.0f, false, false, -85.65f, 49.45f) } }.build() + return _waveSignalTilted!! } @@ -58,7 +59,7 @@ private fun Preview() { Image( imageVector = AppIcons.Illu.WaveSignalTilted, contentDescription = null, - modifier = Modifier.size(AppIcons.previewSize) + modifier = Modifier.size(AppIcons.previewSize), ) } }