mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-10-09 06:29:14 +02:00
Use Rebble Store URI
This commit is contained in:
parent
366aa60d2e
commit
da59991aa5
@ -429,7 +429,7 @@ public abstract class AbstractAppManagerFragment extends Fragment {
|
|||||||
startActivity(startIntent);
|
startActivity(startIntent);
|
||||||
return true;
|
return true;
|
||||||
case R.id.appmanager_app_openinstore:
|
case R.id.appmanager_app_openinstore:
|
||||||
String url = "https://pebble-appstore.romanport.com/" + ((selectedApp.getType() == GBDeviceApp.Type.WATCHFACE) ? "watchfaces" : "watchapps") + "/0/?query=" + selectedApp.getName();
|
String url = "https://apps.rebble.io/en_US/search/" + ((selectedApp.getType() == GBDeviceApp.Type.WATCHFACE) ? "watchfaces" : "watchapps") + "/1/?native=true&?query=" + Uri.encode(selectedApp.getName());
|
||||||
Intent intent = new Intent(Intent.ACTION_VIEW);
|
Intent intent = new Intent(Intent.ACTION_VIEW);
|
||||||
intent.setData(Uri.parse(url));
|
intent.setData(Uri.parse(url));
|
||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
|
Loading…
Reference in New Issue
Block a user