Skip to content

Commit

Permalink
Update AppUpgradeRepository.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
appupgrade-dev committed Feb 27, 2023
1 parent e23850d commit d63ec5d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,17 +199,17 @@
parentActivity.startActivity(
Intent(
Intent.ACTION_VIEW,
Uri.parse("https://play.google.com/store/apps/details?id=$appInfo.appId")
Uri.parse("market://details?id=${appInfo.appId}")
)
)
}
} catch (anfe: ActivityNotFoundException) {
parentActivity.startActivity(
Intent(
Intent.ACTION_VIEW,
Uri.parse("https://play.google.com/store/apps/details?id=$appInfo.appId")
Uri.parse("https://play.google.com/store/apps/details?id=${appInfo.appId}")
)
)
}
}
}
}

0 comments on commit d63ec5d

Please sign in to comment.