Skip to content

Commit

Permalink
Fixed play uri for debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
sirekanian committed Dec 31, 2023
1 parent c08bf93 commit 00af4dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/java/org/sirekanyan/outline/ui/AboutDialog.kt
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ fun AboutDialogContent(onDismiss: () -> Unit) {
}
}
if (isPlayFlavor() || isDebugBuild()) {
val playUri = "https://play.google.com/store/apps/details?id=${context.packageName}"
val packageName = "org.sirekanyan.outline"
val playUri = "https://play.google.com/store/apps/details?id=$packageName"
AboutItem(IconPlayStore, "Rate on Play Store") {
context.startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(playUri)))
onDismiss()
Expand Down

0 comments on commit 00af4dc

Please sign in to comment.