kopia lustrzana https://github.com/rt-bishop/Look4Sat
Added auto passes recalculation on TLE update
rodzic
c5c8df0b5e
commit
216f96caef
|
@ -59,6 +59,11 @@ class PassesViewModel @Inject constructor(
|
|||
}
|
||||
}
|
||||
}
|
||||
viewModelScope.launch {
|
||||
repository.updateState.collect { updateState ->
|
||||
if (updateState is DataState.Success) calculatePasses()
|
||||
}
|
||||
}
|
||||
calculatePasses()
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue