commit
bde86600d0
2 changed files with 4 additions and 5 deletions
|
@ -3297,11 +3297,7 @@
|
|||
<string name="new_route_calculated_dist_dbg">المسار: المسافة%s ، وقت جهاز التوجيه%s
|
||||
\nالحساب:%.1f ثانية ،%d طرق ،%d تجانب)</string>
|
||||
<string name="lang_oc">الأوكيتانية</string>
|
||||
<string name="get_discount_title">احصل على خصم بمقدار %d %@ at %d%% .</string>
|
||||
<string name="get_discount_first_part">%1$s للأول %2$s</string>
|
||||
<string name="get_discount_first_few_part">%1$s للأول %2$s</string>
|
||||
<string name="get_discount_second_part">ثم %1$s</string>
|
||||
<string name="price_and_discount">%1$s • وفر %2$s</string>
|
||||
<string name="apply_to_current_profile">تطبيق فقط على \"%1$s\"</string>
|
||||
<string name="route_parameters_info">إعدادات التوجيه في ملف التعريف المحدد \"%1$s\".</string>
|
||||
<string name="routing_attr_width_name">حد العرض</string>
|
||||
|
|
|
@ -9,6 +9,7 @@ import android.support.annotation.NonNull;
|
|||
import android.support.v4.app.DialogFragment;
|
||||
import android.support.v7.app.AlertDialog;
|
||||
|
||||
import net.osmand.AndroidUtils;
|
||||
import net.osmand.PlatformUtil;
|
||||
import net.osmand.plus.AppInitializer;
|
||||
import net.osmand.plus.OsmandApplication;
|
||||
|
@ -36,7 +37,9 @@ public class WhatsNewDialogFragment extends DialogFragment {
|
|||
public void onClick(DialogInterface dialog, int which) {
|
||||
Intent i = new Intent(Intent.ACTION_VIEW);
|
||||
i.setData(Uri.parse(AppInitializer.LATEST_CHANGES_URL));
|
||||
startActivity(i);
|
||||
if (AndroidUtils.isIntentSafe(osmandApplication, i)) {
|
||||
startActivity(i);
|
||||
}
|
||||
dismiss();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue