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) {
|
create(playStore) {
|
||||||
buildConfigField(
|
buildConfigField(
|
||||||
"String",
|
"String",
|
||||||
"StoreLink",
|
"STORE_LINK",
|
||||||
"\"http://play.google.com/store/apps/details?id=com.sadellie.unitto\""
|
"\"http://play.google.com/store/apps/details?id=com.sadellie.unitto\""
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
create(appGallery) {
|
create(appGallery) {
|
||||||
buildConfigField(
|
buildConfigField(
|
||||||
"String",
|
"String",
|
||||||
"StoreLink",
|
"STORE_LINK",
|
||||||
"\"https://appgallery.huawei.com/app/C105740875\""
|
"\"https://appgallery.huawei.com/app/C105740875\""
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
create(ruPlayStore) {
|
create(ruPlayStore) {
|
||||||
buildConfigField("String", "StoreLink", "\"\"")
|
buildConfigField("String", "STORE_LINK", "\"\"")
|
||||||
}
|
}
|
||||||
create(fdroid) {
|
create(fdroid) {
|
||||||
// Not uploaded yet, no store link
|
// Not uploaded yet, no store link
|
||||||
buildConfigField(
|
buildConfigField(
|
||||||
"String",
|
"String",
|
||||||
"StoreLink",
|
"STORE_LINK",
|
||||||
"\"https://f-droid.org/ru/packages/com.sadellie.unitto\""
|
"\"https://f-droid.org/ru/packages/com.sadellie.unitto\""
|
||||||
)
|
)
|
||||||
buildConfigField("Boolean", "ANALYTICS", "false")
|
buildConfigField("Boolean", "ANALYTICS", "false")
|
||||||
|
@ -134,11 +134,11 @@ fun SettingsScreen(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// RATE THIS APP
|
// RATE THIS APP
|
||||||
if (BuildConfig.StoreLink.isNotEmpty()) {
|
if (BuildConfig.STORE_LINK.isNotEmpty()) {
|
||||||
item {
|
item {
|
||||||
SettingsListItem(
|
SettingsListItem(
|
||||||
stringResource(R.string.rate_this_app)
|
stringResource(R.string.rate_this_app)
|
||||||
) { openLink(mContext, BuildConfig.StoreLink) }
|
) { openLink(mContext, BuildConfig.STORE_LINK) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user