Skip to content

Commit

Permalink
Merge pull request #1 from oas004/fix/rtl-mode-sc
Browse files Browse the repository at this point in the history
Fix screenshot
  • Loading branch information
oas004 authored Dec 6, 2023
2 parents 1023788 + bb4b690 commit dddd152
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ package com.google.android.horologist.compose.material

import android.R
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.automirrored.outlined.VolumeDown
import androidx.compose.material.icons.filled.Image
import androidx.compose.material.icons.materialPath
import androidx.compose.material.icons.outlined.VolumeDown
Expand Down Expand Up @@ -360,6 +359,7 @@ class ChipTest : ScreenshotBaseTest() {
fun withIconMirrored() {
screenshotTestRule.setContent(isComponent = true, takeScreenshot = true) {
CompositionLocalProvider(LocalLayoutDirection provides LayoutDirection.Rtl) {
@Suppress("Deprecation")
Chip(
label = "Primary label",
onClick = { },
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dddd152

Please sign in to comment.