Restored rate this app settings item

This commit is contained in:
Sad Ellie 2022-06-23 21:47:02 +03:00
parent a94d6a66e8
commit 073cc27ad0
2 changed files with 10 additions and 1 deletions

View File

@ -84,7 +84,7 @@ android {
)
}
create("ruPlayStore") {
buildConfigField("String", "StoreLink", "null")
buildConfigField("String", "StoreLink", "")
}
}

View File

@ -165,6 +165,15 @@ fun SettingsScreen(
) { navControllerAction(ABOUT_SCREEN) }
}
// RATE THIS APP
if (BuildConfig.StoreLink.isNotEmpty()) {
item {
SettingsListItem(
stringResource(R.string.rate_this_app)
) { openLink(mContext, BuildConfig.StoreLink) }
}
}
// APP VERSION
item {
SettingsListItem(