fix(aprs): settings crash from format arg type mismatch + service class name

- prefs_aprs_summary uses %2$d but AprsCard passed port.toString()
  (String) -> String.format threw IllegalFormatConversionException
  on every Settings screen open (crash). Pass Int now.
- Manifest service name was ".AprsForegroundService" (resolves under
  applicationId) but the class lives in com.rtbishop.look4sat.app ->
  ClassNotFoundException when toggling. Use full class name.
Verified: :feature:settings:compileDebugKotlin + :app:compileDebugKotlin
BUILD SUCCESSFUL.
This commit is contained in:
mckero committed 2026-08-05 02:39:14 +00:00
1 parent 518d9a4d22
commit 44ae5cef5d
2 files changed
+2 -2

No files matched your search

@@ -75,7 +75,7 @@ fun AprsCard() {
Text(
text = stringResource(
id = R.string.prefs_aprs_summary,
config.server, config.port.toString(),
config.server, config.port,
if (config.callsign.isBlank()) "-" else config.callsign
),
fontSize = 13.sp,