File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
WordPress/src/jetpack/java/org/wordpress/android/ui/accounts/login/components Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import androidx.compose.ui.draw.paint
11
11
import androidx.compose.ui.layout.ContentScale
12
12
import androidx.compose.ui.res.colorResource
13
13
import androidx.compose.ui.res.painterResource
14
+ import androidx.compose.ui.semantics.clearAndSetSemantics
14
15
import androidx.compose.ui.tooling.preview.Devices
15
16
import androidx.compose.ui.tooling.preview.Preview
16
17
import androidx.compose.ui.unit.dp
@@ -33,6 +34,7 @@ fun LoopingTextWithBackground(
33
34
) {
34
35
LoopingText (
35
36
modifier = Modifier
37
+ .clearAndSetSemantics { }
36
38
.fillMaxSize()
37
39
.padding(horizontal = 20 .dp)
38
40
.then(textModifier)
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import androidx.compose.foundation.layout.Column
4
4
import androidx.compose.runtime.Composable
5
5
import androidx.compose.ui.Modifier
6
6
import androidx.compose.ui.layout.Layout
7
- import androidx.compose.ui.semantics.clearAndSetSemantics
8
7
import androidx.compose.ui.unit.Constraints
9
8
10
9
/* * This composable accepts a child composable, and repeats that composable `repeat` times (default 3). It places the
@@ -25,7 +24,7 @@ fun RepeatingColumn(
25
24
) {
26
25
Layout (
27
26
content = {
28
- Column (modifier.clearAndSetSemantics {} ) {
27
+ Column (modifier = modifier ) {
29
28
repeat(repeat) {
30
29
content()
31
30
}
You can’t perform that action at this time.
0 commit comments