mirror of
https://github.com/atsunatsu/Look4Sat.git
synced 2026-10-02 03:15:37 +00:00
v4.0.2 - Custom data import by londre7, minor UI tweaks
This commit is contained in:
1 parent
13a79af27e
commit
ed71c8148b
8 files changed
+24
-27
No files matched your search
@@ -24,7 +24,7 @@ jobs:
|
|||||||
uses: actions/setup-java@v5
|
uses: actions/setup-java@v5
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: '21'
|
java-version: '17'
|
||||||
|
|
||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/actions/setup-gradle@v5
|
uses: gradle/actions/setup-gradle@v5
|
||||||
@@ -69,7 +69,7 @@ jobs:
|
|||||||
serviceAccountJsonPlainText: ${{secrets.SERVICE_ACCOUNT_JSON}}
|
serviceAccountJsonPlainText: ${{secrets.SERVICE_ACCOUNT_JSON}}
|
||||||
packageName: com.rtbishop.look4sat
|
packageName: com.rtbishop.look4sat
|
||||||
releaseFiles: app/build/outputs/apk/release/look4sat.aab
|
releaseFiles: app/build/outputs/apk/release/look4sat.aab
|
||||||
track: beta
|
track: production
|
||||||
whatsNewDirectory: fastlane/metadata/android/en-US/whatsnew
|
whatsNewDirectory: fastlane/metadata/android/en-US/whatsnew
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ android {
|
|||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId = "com.rtbishop.look4sat"
|
applicationId = "com.rtbishop.look4sat"
|
||||||
minSdk = 24
|
minSdk = 24
|
||||||
versionCode = 401
|
versionCode = 402
|
||||||
versionName = "4.0.1"
|
versionName = "4.0.2"
|
||||||
}
|
}
|
||||||
buildFeatures {
|
buildFeatures {
|
||||||
compose = true
|
compose = true
|
||||||
|
|||||||
@@ -17,6 +17,9 @@
|
|||||||
*/
|
*/
|
||||||
package com.rtbishop.look4sat.presentation
|
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.Icon
|
||||||
import androidx.compose.material3.MaterialTheme
|
import androidx.compose.material3.MaterialTheme
|
||||||
import androidx.compose.material3.Text
|
import androidx.compose.material3.Text
|
||||||
@@ -76,7 +79,12 @@ fun MainScreen(navController: NavHostController = rememberNavController()) {
|
|||||||
else -> NavigationSuiteType.ShortNavigationBarMedium
|
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() }
|
satellitesDestination { navController.navigateUp() }
|
||||||
passesDestination { catNum: Int, aosTime: Long ->
|
passesDestination { catNum: Int, aosTime: Long ->
|
||||||
val radarRoute = "${Screen.Radar.route}?catNum=${catNum}&aosTime=${aosTime}"
|
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.SetUseCustomTransceivers(useCustomTransceivers))
|
||||||
uiState.sendDataSourcesAction(DataSourcesAction.SetTransceiversUrl(transceiversUrl))
|
uiState.sendDataSourcesAction(DataSourcesAction.SetTransceiversUrl(transceiversUrl))
|
||||||
}
|
}
|
||||||
|
if (useCustomTle || useCustomTransceivers) {
|
||||||
|
uiState.sendAction(SettingsAction.UpdateFromWeb)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -124,9 +124,7 @@ class SettingsViewModel(
|
|||||||
}
|
}
|
||||||
viewModelScope.launch {
|
viewModelScope.launch {
|
||||||
settingsRepo.dataSourcesSettings.collect { settings ->
|
settingsRepo.dataSourcesSettings.collect { settings ->
|
||||||
_uiState.update {
|
_uiState.update { it.copy(dataSourcesSettings = settings) }
|
||||||
it.copy(dataSourcesSettings = settings)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ class DatabaseRepo(
|
|||||||
val importedRadios = mutableListOf<SatRadio>()
|
val importedRadios = mutableListOf<SatRadio>()
|
||||||
val tleUrls = Sources.satelliteDataUrls.toMutableMap().apply {
|
val tleUrls = Sources.satelliteDataUrls.toMutableMap().apply {
|
||||||
if (settingsRepo.dataSourcesSettings.value.useCustomTLE) {
|
if (settingsRepo.dataSourcesSettings.value.useCustomTLE) {
|
||||||
this["Other"] = settingsRepo.dataSourcesSettings.value.transceiversUrl
|
this["Other"] = settingsRepo.dataSourcesSettings.value.tleUrl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val jobsMap = tleUrls
|
val jobsMap = tleUrls
|
||||||
|
|||||||
@@ -1,9 +1,3 @@
|
|||||||
Added support for landscape layout and tablets
|
Added minor tweaks for UK translation, by Eugene #188
|
||||||
Added AOS/LOS info to the countdown component
|
Added custom data sources import, by londre7 #189
|
||||||
Added various minor UI fixes for readability
|
Added various UI fixes, updated dependencies
|
||||||
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
|
|
||||||
@@ -1,9 +1,3 @@
|
|||||||
Added support for landscape layout and tablets
|
Added minor tweaks for UK translation, by Eugene #188
|
||||||
Added AOS/LOS info to the countdown component
|
Added custom data sources import, by londre7 #189
|
||||||
Added various minor UI fixes for readability
|
Added various UI fixes, updated dependencies
|
||||||
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
|
|
||||||
Reference in new issue
Block a user