v4.1.1 - Fixes for landscape/split screen issues, by londre7

This commit is contained in:
Arty Bishop committed 2026-03-22 11:07:23 +00:00
1 parent 1d48ce144f
commit e2bf2a09a4
7 files changed
+14 -13

No files matched your search

@@ -32,6 +32,7 @@ internal class ComposeLibraryPlugin : Plugin<Project> {
setupTestDependencies() setupTestDependencies()
dependencies { dependencies {
IMPLEMENTATION(project(":core:domain")) IMPLEMENTATION(project(":core:domain"))
IMPLEMENTATION(libs.androidx.core.splashscreen)
} }
} }
} }
@@ -48,8 +48,8 @@
\n\nPlease update the database at least weekly to get accurate predictions.</string> \n\nPlease update the database at least weekly to get accurate predictions.</string>
<string name="pass_whatsnew_title" translatable="false">What\'s new in Look4Sat</string> <string name="pass_whatsnew_title" translatable="false">What\'s new in Look4Sat</string>
<string name="pass_whatsnew_message" translatable="false"> <string name="pass_whatsnew_message" translatable="false">
• Londre7 added a remote frequency control feature (Hamlib/SDR++) by sending compatible messages via Network/BT. * Londre7 fixed the track path creation issue for split screen
Enable it in Settings and tap the transceiver (Radar Screen). as well as enabled the compass data usage for landscape orientation
</string> </string>
<!-- Radar screen --> <!-- Radar screen -->
@@ -1,3 +1,2 @@
Added What's New dialog to announce changes and features * Fixed track path creation issue for split screens (#199) by londre7
Added remote frequency control feature, by londre7 #195 * Enabled using compass data for landscape orientation (#202) by londre7
Updated the Chinese translation, by wty2019wty #196
@@ -1,3 +1,2 @@
Added What's New dialog to announce changes and features * Fixed track path creation issue for split screens (#199) by londre7
Added remote frequency control feature, by londre7 #195 * Enabled using compass data for landscape orientation (#202) by londre7
Updated the Chinese translation, by wty2019wty #196
@@ -69,6 +69,7 @@ import com.rtbishop.look4sat.core.presentation.Screen
import com.rtbishop.look4sat.core.presentation.ScreenColumn import com.rtbishop.look4sat.core.presentation.ScreenColumn
import com.rtbishop.look4sat.core.presentation.TopBar import com.rtbishop.look4sat.core.presentation.TopBar
import com.rtbishop.look4sat.core.presentation.infiniteMarquee import com.rtbishop.look4sat.core.presentation.infiniteMarquee
import com.rtbishop.look4sat.core.presentation.isVerticalLayout
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Date import java.util.Date
import java.util.Locale import java.util.Locale
@@ -290,8 +291,9 @@ private fun SettingsScreen(uiState: SettingsState) {
} }
} }
) { _ -> ) { _ ->
val isVerticalLayout = isVerticalLayout()
LazyVerticalGrid( LazyVerticalGrid(
columns = GridCells.Adaptive(320.dp), columns = GridCells.Fixed(if (isVerticalLayout) 1 else 2),
horizontalArrangement = Arrangement.spacedBy(6.dp), horizontalArrangement = Arrangement.spacedBy(6.dp),
verticalArrangement = Arrangement.spacedBy(6.dp), verticalArrangement = Arrangement.spacedBy(6.dp),
modifier = Modifier.clip(MaterialTheme.shapes.medium) modifier = Modifier.clip(MaterialTheme.shapes.medium)
+2 -2
View File
@@ -1,8 +1,8 @@
[versions] [versions]
#noinspection UnusedVersionCatalogEntry #noinspection UnusedVersionCatalogEntry
appVersionCode = "410" appVersionCode = "411"
#noinspection UnusedVersionCatalogEntry #noinspection UnusedVersionCatalogEntry
appVersionName = "4.1.0" appVersionName = "4.1.1"
#noinspection UnusedVersionCatalogEntry #noinspection UnusedVersionCatalogEntry
compileSdk = "36" compileSdk = "36"
#noinspection UnusedVersionCatalogEntry #noinspection UnusedVersionCatalogEntry
+2 -2
View File
@@ -1,7 +1,7 @@
#Fri Mar 13 09:30:16 GMT 2026 #Sun Mar 22 10:09:53 GMT 2026
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.0-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip
networkTimeout=10000 networkTimeout=10000
validateDistributionUrl=true validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME