Skip to content

Commit

Permalink
remove optins
Browse files Browse the repository at this point in the history
  • Loading branch information
Tewelde, Fethi (F.) committed Dec 8, 2024
1 parent acb7083 commit e3dfe49
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ fun ArtsScreenRoute(

}

@OptIn(ExperimentalFoundationApi::class)
@Composable
internal fun ArtsScreen(
uiState: ArtsUiState,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,7 @@ fun CollectionScreenRoute(
)
}

@OptIn(
ExperimentalMaterial3Api::class,
ExperimentalMaterialApi::class
)
@OptIn(ExperimentalMaterial3Api::class,)
@Composable
internal fun CollectionScreen(
uiState: ArtsUiState,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.size
import androidx.compose.material.Card
import androidx.compose.material.ExperimentalMaterialApi
import androidx.compose.material3.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
Expand All @@ -29,7 +28,6 @@ import androidx.compose.ui.layout.ContentScale
import androidx.compose.ui.unit.dp
import com.tewelde.rijksmuseum.core.designsystem.component.RijksmuseumImage

@ExperimentalMaterialApi
@Composable
fun ArtItem(
modifier: Modifier = Modifier,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.tewelde.rijksmuseum.feature.arts.gallery.components

import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
Expand Down Expand Up @@ -30,7 +29,6 @@ import com.tewelde.rijksmuseum.resources.lugrasimo_regular
import org.jetbrains.compose.resources.Font
import org.jetbrains.compose.resources.stringResource

@OptIn(ExperimentalFoundationApi::class)
@Composable
fun ImageDescription(
art: Art,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ private const val MULTIPLIER_SELECTED_PAGE = 4
private val baseWidth = 8.dp
private val height = 3.dp

@OptIn(ExperimentalFoundationApi::class)
@Composable
fun RijksmuseumPager(
pagerState: PagerState,
Expand Down

0 comments on commit e3dfe49

Please sign in to comment.