Skip to content

Commit

Permalink
fix icon (#2137)
Browse files Browse the repository at this point in the history
Co-authored-by: Leigh Douglas <[email protected]>
  • Loading branch information
leighdouglas and Leigh Douglas authored Sep 30, 2024
1 parent f097ee7 commit 3ce4b30
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.LazyListState
import androidx.compose.foundation.lazy.rememberLazyListState
Expand All @@ -31,6 +32,7 @@ import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.ColorFilter
import androidx.compose.ui.platform.testTag
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.res.stringResource
Expand Down Expand Up @@ -374,8 +376,10 @@ fun PPOScreenErrorState() {
) {

Image(
painter = painterResource(id = R.drawable.ic_refresh_arrow),
painter = painterResource(id = R.drawable.ic_alert),
modifier = Modifier.size(dimensions.iconSizeLarge),
contentDescription = null,
colorFilter = ColorFilter.tint(colors.icon)
)
Spacer(modifier = Modifier.height(dimensions.paddingMediumLarge))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ data class KSDimensions(
val assistiveTextTopSpacing: Dp = Dp.Unspecified,
val verticalDividerWidth: Dp = Dp.Unspecified,
val iconSizeMedium: Dp = Dp.Unspecified,
val iconSizeLarge: Dp = Dp.Unspecified,
val featuredSearchImageHeight: Dp = Dp.Unspecified,
val projectSearchImageHeight: Dp = Dp.Unspecified,
val projectSearchImageWidth: Dp = Dp.Unspecified,
Expand Down Expand Up @@ -103,6 +104,7 @@ val KSStandardDimensions = KSDimensions(
assistiveTextTopSpacing = 6.dp,
verticalDividerWidth = 4.dp,
iconSizeMedium = 18.dp,
iconSizeLarge = 24.dp,
featuredSearchImageHeight = 200.dp,
projectSearchImageHeight = 45.dp,
projectSearchImageWidth = 80.dp,
Expand Down

0 comments on commit 3ce4b30

Please sign in to comment.