Replaced google weather url with yandex
This commit is contained in:
parent
f25ce937ce
commit
cadc881ad8
@ -24,7 +24,11 @@ class WidgetClickListenerReceiver : BroadcastReceiver() {
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
e.printStackTrace()
|
||||
val uri = Uri.parse("https://www.google.com/search?q=weather")
|
||||
val uri = Uri.parse("https://yandex.ru/pogoda")
|
||||
.buildUpon()
|
||||
.appendQueryParameter("lat", Preferences.customLocationLat)
|
||||
.appendQueryParameter("lon", Preferences.customLocationLon)
|
||||
.build()
|
||||
val i = Intent(Intent.ACTION_VIEW, uri)
|
||||
i.flags = Intent.FLAG_ACTIVITY_NEW_TASK
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user