v4.0.2 - Custom data import by londre7, minor UI tweaks

This commit is contained in:
Arty Bishop committed 2026-02-07 17:22:42 +00:00
1 parent 13a79af27e
commit ed71c8148b
8 files changed
+24 -27

No files matched your search

+2 -2
View File
@@ -24,7 +24,7 @@ jobs:
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '21'
java-version: '17'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
@@ -69,7 +69,7 @@ jobs:
serviceAccountJsonPlainText: ${{secrets.SERVICE_ACCOUNT_JSON}}
packageName: com.rtbishop.look4sat
releaseFiles: app/build/outputs/apk/release/look4sat.aab
track: beta
track: production
whatsNewDirectory: fastlane/metadata/android/en-US/whatsnew
- name: Create Release
+2 -2
View File
@@ -13,8 +13,8 @@ android {
defaultConfig {
applicationId = "com.rtbishop.look4sat"
minSdk = 24
versionCode = 401
versionName = "4.0.1"
versionCode = 402
versionName = "4.0.2"
}
buildFeatures {
compose = true
@@ -17,6 +17,9 @@
*/
package com.rtbishop.look4sat.presentation
import androidx.compose.animation.core.tween
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.material3.Icon
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
@@ -76,7 +79,12 @@ fun MainScreen(navController: NavHostController = rememberNavController()) {
else -> NavigationSuiteType.ShortNavigationBarMedium
}
) {
NavHost(navController = navController, startDestination = startDestination) {
NavHost(
navController = navController,
startDestination = startDestination,
enterTransition = { fadeIn(animationSpec = tween(350)) },
exitTransition = { fadeOut(animationSpec = tween(350)) }
) {
satellitesDestination { navController.navigateUp() }
passesDestination { catNum: Int, aosTime: Long ->
val radarRoute = "${Screen.Radar.route}?catNum=${catNum}&aosTime=${aosTime}"
@@ -163,6 +163,9 @@ private fun SettingsScreen(uiState: SettingsState) {
uiState.sendDataSourcesAction(DataSourcesAction.SetUseCustomTransceivers(useCustomTransceivers))
uiState.sendDataSourcesAction(DataSourcesAction.SetTransceiversUrl(transceiversUrl))
}
if (useCustomTle || useCustomTransceivers) {
uiState.sendAction(SettingsAction.UpdateFromWeb)
}
}
)
}
@@ -124,9 +124,7 @@ class SettingsViewModel(
}
viewModelScope.launch {
settingsRepo.dataSourcesSettings.collect { settings ->
_uiState.update {
it.copy(dataSourcesSettings = settings)
}
_uiState.update { it.copy(dataSourcesSettings = settings) }
}
}
}
@@ -61,7 +61,7 @@ class DatabaseRepo(
val importedRadios = mutableListOf<SatRadio>()
val tleUrls = Sources.satelliteDataUrls.toMutableMap().apply {
if (settingsRepo.dataSourcesSettings.value.useCustomTLE) {
this["Other"] = settingsRepo.dataSourcesSettings.value.transceiversUrl
this["Other"] = settingsRepo.dataSourcesSettings.value.tleUrl
}
}
val jobsMap = tleUrls
@@ -1,9 +1,3 @@
Added support for landscape layout and tablets
Added AOS/LOS info to the countdown component
Added various minor UI fixes for readability
Cleaned up the translations and strings.xml
Moved Modes filter dialog to Passes screen
Rewrote all the screens with Jetpack Compose
Switched to using Bottom Navigation component
Switched to using unified dialogs and top bars
Updated GitHub Actions workflow deps and scripts
Added minor tweaks for UK translation, by Eugene #188
Added custom data sources import, by londre7 #189
Added various UI fixes, updated dependencies
@@ -1,9 +1,3 @@
Added support for landscape layout and tablets
Added AOS/LOS info to the countdown component
Added various minor UI fixes for readability
Cleaned up the translations and strings.xml
Moved Modes filter dialog to Passes screen
Rewrote all the screens with Jetpack Compose
Switched to using Bottom Navigation component
Switched to using unified dialogs and top bars
Updated GitHub Actions workflow deps and scripts
Added minor tweaks for UK translation, by Eugene #188
Added custom data sources import, by londre7 #189
Added various UI fixes, updated dependencies