Skip to content

Commit

Permalink
feat: Use @PreviewAllWindows
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBoulongne committed Oct 17, 2024
1 parent c97b25d commit 17da1c2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import com.infomaniak.swisstransfer.ui.images.illus.matomo.Matomo
import com.infomaniak.swisstransfer.ui.screen.main.components.SmallWindowTopAppBarScaffold
import com.infomaniak.swisstransfer.ui.theme.Margin
import com.infomaniak.swisstransfer.ui.theme.SwissTransferTheme
import com.infomaniak.swisstransfer.ui.utils.PreviewSmallWindow
import com.infomaniak.swisstransfer.ui.utils.PreviewAllWindows

@Composable
fun SettingsDataManagementMatomoScreen(navigateBack: (() -> Unit)?) {
Expand Down Expand Up @@ -92,7 +92,7 @@ fun SettingsDataManagementMatomoScreen(navigateBack: (() -> Unit)?) {
}
}

@PreviewSmallWindow
@PreviewAllWindows
@Composable
private fun SettingsDataManagementMatomoScreenPreview() {
SwissTransferTheme {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import com.infomaniak.swisstransfer.ui.screen.main.settings.components.SettingIt
import com.infomaniak.swisstransfer.ui.theme.Dimens
import com.infomaniak.swisstransfer.ui.theme.Margin
import com.infomaniak.swisstransfer.ui.theme.SwissTransferTheme
import com.infomaniak.swisstransfer.ui.utils.PreviewSmallWindow
import com.infomaniak.swisstransfer.ui.utils.PreviewAllWindows

@Composable
fun SettingsDataManagementScreen(
Expand Down Expand Up @@ -108,7 +108,7 @@ fun SettingsDataManagementScreen(
}
}

@PreviewSmallWindow
@PreviewAllWindows
@Composable
private fun SettingsDataManagementScreenPreview() {
SwissTransferTheme {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import com.infomaniak.swisstransfer.ui.images.illus.sentry.Sentry
import com.infomaniak.swisstransfer.ui.screen.main.components.SmallWindowTopAppBarScaffold
import com.infomaniak.swisstransfer.ui.theme.Margin
import com.infomaniak.swisstransfer.ui.theme.SwissTransferTheme
import com.infomaniak.swisstransfer.ui.utils.PreviewSmallWindow
import com.infomaniak.swisstransfer.ui.utils.PreviewAllWindows

@Composable
fun SettingsDataManagementSentryScreen(navigateBack: (() -> Unit)?) {
Expand Down Expand Up @@ -92,7 +92,7 @@ fun SettingsDataManagementSentryScreen(navigateBack: (() -> Unit)?) {
}
}

@PreviewSmallWindow
@PreviewAllWindows
@Composable
private fun SettingsDataManagementSentryScreenPreview() {
SwissTransferTheme {
Expand Down

0 comments on commit 17da1c2

Please sign in to comment.