forked from mirror/monocles_chat_clean
Disable modifiable mappreview url
This commit is contained in:
parent
9a1e1968c4
commit
b97ded6199
2 changed files with 3 additions and 1 deletions
|
@ -50,7 +50,7 @@ public class GeoHelper {
|
|||
} catch (NumberFormatException nfe) {
|
||||
return null;
|
||||
}
|
||||
return getMappreviewHost(activity) + "?center=" + latitude + "," + longitude + "&zoom=15" + "&size=500x500&markers=color:blue|" + latitude + "," + longitude;
|
||||
return activity.getResources().getString(R.string.mappreview_url) + "?center=" + latitude + "," + longitude + "&zoom=15" + "&size=500x500&markers=color:blue|" + latitude + "," + longitude;
|
||||
}
|
||||
|
||||
private static String getMappreviewHost(Activity activity) {
|
||||
|
|
|
@ -525,12 +525,14 @@
|
|||
android:key="show_maps_inside"
|
||||
android:summary="@string/pref_show_mappreview_inside_summary"
|
||||
android:title="@string/pref_show_mappreview_inside" />
|
||||
<!--
|
||||
<EditTextPreference
|
||||
android:defaultValue="@string/mappreview_url"
|
||||
android:dependency="show_maps_inside"
|
||||
android:key="mappreview_host"
|
||||
android:summary="@string/pref_mappreview_host_summary"
|
||||
android:title="@string/pref_mappreview_host" />
|
||||
-->
|
||||
<SwitchPreference
|
||||
android:defaultValue="@bool/warn_unencrypted_chat"
|
||||
android:key="warn_unencrypted_chat"
|
||||
|
|
Loading…
Add table
Reference in a new issue