Skip to content

Commit

Permalink
Change color of person name to adapt to light/dark mode (#478)
Browse files Browse the repository at this point in the history
Co-authored-by: mitchellss <[email protected]>
Co-authored-by: Dessalines <[email protected]>
  • Loading branch information
3 people committed Jun 9, 2023
1 parent b2a1ffa commit 6ec59ec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/src/main/java/com/jerboa/ui/components/home/Home.kt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ import androidx.compose.runtime.saveable.rememberSaveable
import androidx.compose.runtime.setValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.tooling.preview.Preview
import androidx.navigation.NavController
Expand Down Expand Up @@ -394,7 +393,7 @@ fun AvatarAndAccountName(myPerson: PersonSafe?) {
}
PersonName(
person = myPerson,
color = Color.White,
color = MaterialTheme.colorScheme.onSurface,
)
}
}
Expand Down

0 comments on commit 6ec59ec

Please sign in to comment.