mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-19 00:35:26 +02:00
Fixed naming convention for build config fields
This commit is contained in:
parent
266d40f2aa
commit
3bb7ac1d7f
@ -80,25 +80,25 @@ android {
|
||||
create(playStore) {
|
||||
buildConfigField(
|
||||
"String",
|
||||
"StoreLink",
|
||||
"STORE_LINK",
|
||||
"\"http://play.google.com/store/apps/details?id=com.sadellie.unitto\""
|
||||
)
|
||||
}
|
||||
create(appGallery) {
|
||||
buildConfigField(
|
||||
"String",
|
||||
"StoreLink",
|
||||
"STORE_LINK",
|
||||
"\"https://appgallery.huawei.com/app/C105740875\""
|
||||
)
|
||||
}
|
||||
create(ruPlayStore) {
|
||||
buildConfigField("String", "StoreLink", "\"\"")
|
||||
buildConfigField("String", "STORE_LINK", "\"\"")
|
||||
}
|
||||
create(fdroid) {
|
||||
// Not uploaded yet, no store link
|
||||
buildConfigField(
|
||||
"String",
|
||||
"StoreLink",
|
||||
"STORE_LINK",
|
||||
"\"https://f-droid.org/ru/packages/com.sadellie.unitto\""
|
||||
)
|
||||
buildConfigField("Boolean", "ANALYTICS", "false")
|
||||
|
@ -134,11 +134,11 @@ fun SettingsScreen(
|
||||
}
|
||||
|
||||
// RATE THIS APP
|
||||
if (BuildConfig.StoreLink.isNotEmpty()) {
|
||||
if (BuildConfig.STORE_LINK.isNotEmpty()) {
|
||||
item {
|
||||
SettingsListItem(
|
||||
stringResource(R.string.rate_this_app)
|
||||
) { openLink(mContext, BuildConfig.StoreLink) }
|
||||
) { openLink(mContext, BuildConfig.STORE_LINK) }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user