Browse Source

feat: google url

tongmengxiao 6 months ago
parent
commit
c650cf775f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      home/src/main/java/com/swago/home/update/UpdateDialog.kt

+ 1 - 1
home/src/main/java/com/swago/home/update/UpdateDialog.kt

@@ -56,7 +56,7 @@ class UpdateDialog : BaseXDFragment<DialogUpdateBinding>() {
                     if (SwagoInfo.isGooglePackage()) {
                     if (SwagoInfo.isGooglePackage()) {
                         val intent = Intent(Intent.ACTION_VIEW)
                         val intent = Intent(Intent.ACTION_VIEW)
                         intent.data =
                         intent.data =
-                            Uri.parse("market://details?id=${AppContext.getContext().packageName}")
+                            Uri.parse("https://play.google.com/store/apps/details?id=${AppContext.getContext().packageName}")
                         startActivity(intent)
                         startActivity(intent)
                     } else {
                     } else {
                         val intent = Intent()
                         val intent = Intent()