mirror of
https://github.com/rt-bishop/Look4Sat.git
synced 2026-10-02 03:15:37 +00:00
Migrated to KotlinX Serialization library for JSON parsing
This commit is contained in:
1 parent
99158e74fa
commit
fb2cd85b11
9 files changed
+56
-57
No files matched your search
@@ -149,8 +149,8 @@ private fun RadarScreen(
|
||||
|
||||
@Composable
|
||||
private fun RadarCard(uiState: RadarState, modifier: Modifier = Modifier) {
|
||||
val isEclipsed = uiState.orbitalPos?.eclipsed == true
|
||||
val borderModifier = if (isEclipsed) {
|
||||
val satellitePos = uiState.orbitalPos
|
||||
val borderModifier = if (satellitePos?.aboveHorizon == true && satellitePos.eclipsed) {
|
||||
val infiniteTransition = rememberInfiniteTransition(label = "eclipsedBorder")
|
||||
val borderAlpha by infiniteTransition.animateFloat(
|
||||
initialValue = 1.0f,
|
||||
|
||||
Reference in new issue
Block a user