Skip to content

Commit 6748ae8

Browse files
committed
Switch to contentColor
1 parent b58efdf commit 6748ae8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

JetNews/app/src/main/java/com/example/jetnews/ui/interests/SelectTopicButton.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ package com.example.jetnews.ui.interests
1919
import androidx.compose.Composable
2020
import androidx.ui.core.Modifier
2121
import androidx.ui.foundation.Box
22+
import androidx.ui.foundation.contentColor
2223
import androidx.ui.foundation.shape.corner.CircleShape
2324
import androidx.ui.graphics.vector.DrawVector
2425
import androidx.ui.layout.LayoutPadding
@@ -66,7 +67,7 @@ private fun SelectTopicButtonOff(modifier: Modifier = Modifier.None) {
6667
) {
6768
DrawVector(
6869
vectorImage = vectorResource(R.drawable.ic_add),
69-
tintColor = MaterialTheme.colors().primary
70+
tintColor = contentColor()
7071
)
7172
}
7273
}

0 commit comments

Comments
 (0)