Skip to content

Commit

Permalink
Merge branch 'incorrect-font-color-in-the-account-view-droid-372'
Browse files Browse the repository at this point in the history
  • Loading branch information
Pururun committed Oct 6, 2023
2 parents f8aca6d + 5aa7a53 commit 80a4088
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package net.mullvad.mullvadvpn.compose.component

import androidx.compose.material3.LocalTextStyle
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
Expand Down Expand Up @@ -79,6 +80,7 @@ fun AutoResizeText(
text = text,
maxLines = maxLines,
style = style,
color = MaterialTheme.colorScheme.onBackground,
fontSize = adjustedFontSize.sp,
onTextLayout = {
if (it.didOverflowHeight && isReadyToDraw.not()) {
Expand Down

0 comments on commit 80a4088

Please sign in to comment.