Skip to content

Commit

Permalink
Update app names and add debug differentiation
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneeVandervelde committed Feb 20, 2022
1 parent 42ddfde commit 37f6654
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions android-application/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ android {
}

buildTypes {
all {
applicationIdSuffix = if (project.booleanProperty("snapshot", false)) ".snapshot" else null
}
getByName("debug") {
applicationIdSuffix = ".debug"
resValue("string", "app_name", "Ack: APRS*")
}
getByName("release") {
resValue("string", "app_name", "Ack: APRS")
applicationIdSuffix = if (project.booleanProperty("snapshot", false)) ".snapshot" else null
signingConfig = if (project.hasProperty("signingFile")) {
signingConfigs.getByName("parameterSigning")
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ fun CaptureAppBar(
) {
TopAppBar(
title = {
Text(stringResource(R.string.app_name))
Text(stringResource(R.string.app_name_short))
},
backgroundColor = AprsTheme.colors.surface,
contentColor = contentColorFor(AprsTheme.colors.surface),
Expand Down
2 changes: 1 addition & 1 deletion android-application/src/main/res/values/application.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Ack APRS</string>
<string name="app_name_short">Ack</string>
<string name="application_version">Ack %s (%s)</string>

<string name="navigate_up">Navigate Up</string>
Expand Down

0 comments on commit 37f6654

Please sign in to comment.