From 0d8914acc17c82e701d22428b45b59b97e52cc01 Mon Sep 17 00:00:00 2001 From: Gibran Chevalley Date: Wed, 4 Dec 2024 12:50:07 +0100 Subject: [PATCH] style: Update some copyright, new lines and imports --- .../swisstransfer/ui/images/icons/ArrowRight.kt | 17 +++++++++++++++++ .../onboarding/RadialGradientCornerTopLeft.kt | 2 -- .../RadialGradientCornerTopLeftDark.kt | 17 +++++++++++++++++ .../RadialGradientCornerTopLeftLight.kt | 17 +++++++++++++++++ .../onboarding/RadialGradientCornerTopRight.kt | 1 - .../RadialGradientCornerTopRightDark.kt | 17 +++++++++++++++++ .../RadialGradientCornerTopRightLight.kt | 17 +++++++++++++++++ .../images/illus/onboarding/StorageBoxPile.kt | 1 - .../illus/onboarding/ThreeCardsTransferType.kt | 1 - .../onboarding/TwoPadlocksIntertwinedStars.kt | 1 - .../ui/screen/onboarding/OnboardingScreen.kt | 1 - 11 files changed, 85 insertions(+), 7 deletions(-) diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/images/icons/ArrowRight.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/images/icons/ArrowRight.kt index e0da18ab4..af8a0da5d 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/images/icons/ArrowRight.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/images/icons/ArrowRight.kt @@ -1,3 +1,20 @@ +/* + * Infomaniak SwissTransfer - Android + * Copyright (C) 2024 Infomaniak Network SA + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.infomaniak.swisstransfer.ui.images.icons import androidx.compose.foundation.Image diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopLeft.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopLeft.kt index e40e889ed..5bf9bafa8 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopLeft.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopLeft.kt @@ -17,11 +17,9 @@ */ package com.infomaniak.swisstransfer.ui.images.illus.onboarding - import android.content.res.Configuration import androidx.compose.foundation.Image import androidx.compose.foundation.layout.Box -import androidx.compose.foundation.layout.size import androidx.compose.foundation.layout.width import androidx.compose.material3.Surface import androidx.compose.runtime.Composable diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopLeftDark.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopLeftDark.kt index ce2feaf06..8790c75be 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopLeftDark.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopLeftDark.kt @@ -1,3 +1,20 @@ +/* + * Infomaniak SwissTransfer - Android + * Copyright (C) 2024 Infomaniak Network SA + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.infomaniak.swisstransfer.ui.images.illus.onboarding import androidx.compose.foundation.Image diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopLeftLight.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopLeftLight.kt index 2516e07d5..90d608612 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopLeftLight.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopLeftLight.kt @@ -1,3 +1,20 @@ +/* + * Infomaniak SwissTransfer - Android + * Copyright (C) 2024 Infomaniak Network SA + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.infomaniak.swisstransfer.ui.images.illus.onboarding import androidx.compose.foundation.Image diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopRight.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopRight.kt index 96ced9c36..808a70a38 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopRight.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopRight.kt @@ -17,7 +17,6 @@ */ package com.infomaniak.swisstransfer.ui.images.illus.onboarding - import android.content.res.Configuration import androidx.compose.foundation.Image import androidx.compose.foundation.layout.Box diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopRightDark.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopRightDark.kt index d11466c50..b037b7492 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopRightDark.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopRightDark.kt @@ -1,3 +1,20 @@ +/* + * Infomaniak SwissTransfer - Android + * Copyright (C) 2024 Infomaniak Network SA + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.infomaniak.swisstransfer.ui.images.illus.onboarding import androidx.compose.foundation.Image diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopRightLight.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopRightLight.kt index 2fc8eb9bb..54612a64e 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopRightLight.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/RadialGradientCornerTopRightLight.kt @@ -1,3 +1,20 @@ +/* + * Infomaniak SwissTransfer - Android + * Copyright (C) 2024 Infomaniak Network SA + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package com.infomaniak.swisstransfer.ui.images.illus.onboarding import androidx.compose.foundation.Image diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/StorageBoxPile.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/StorageBoxPile.kt index 88817546e..0faf63e1f 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/StorageBoxPile.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/StorageBoxPile.kt @@ -17,7 +17,6 @@ */ package com.infomaniak.swisstransfer.ui.images.illus.onboarding - import android.content.res.Configuration import androidx.compose.foundation.Image import androidx.compose.foundation.layout.Box diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/ThreeCardsTransferType.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/ThreeCardsTransferType.kt index f75888c95..4100c92d8 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/ThreeCardsTransferType.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/ThreeCardsTransferType.kt @@ -17,7 +17,6 @@ */ package com.infomaniak.swisstransfer.ui.images.illus.onboarding - import android.content.res.Configuration import androidx.compose.foundation.Image import androidx.compose.foundation.layout.Box diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/TwoPadlocksIntertwinedStars.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/TwoPadlocksIntertwinedStars.kt index 45b45a5a9..14ac39510 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/TwoPadlocksIntertwinedStars.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/images/illus/onboarding/TwoPadlocksIntertwinedStars.kt @@ -17,7 +17,6 @@ */ package com.infomaniak.swisstransfer.ui.images.illus.onboarding - import android.content.res.Configuration import androidx.compose.foundation.Image import androidx.compose.foundation.layout.Box diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/onboarding/OnboardingScreen.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/onboarding/OnboardingScreen.kt index 7cb1273c7..c9c0d3837 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/onboarding/OnboardingScreen.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/onboarding/OnboardingScreen.kt @@ -30,7 +30,6 @@ import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.res.stringResource import androidx.compose.ui.text.style.TextAlign -import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.dp import com.infomaniak.library.onboarding.OnboardingPage import com.infomaniak.library.onboarding.OnboardingScaffold