Add info about Release 3.5 to What's new dialog
This commit is contained in:
parent
a4a59d407a
commit
8fc456f3ec
2 changed files with 2 additions and 2 deletions
|
@ -106,7 +106,7 @@ public class AppInitializer implements IProgress {
|
||||||
private static final String VERSION_INSTALLED = "VERSION_INSTALLED"; //$NON-NLS-1$
|
private static final String VERSION_INSTALLED = "VERSION_INSTALLED"; //$NON-NLS-1$
|
||||||
private static final String EXCEPTION_FILE_SIZE = "EXCEPTION_FS"; //$NON-NLS-1$
|
private static final String EXCEPTION_FILE_SIZE = "EXCEPTION_FS"; //$NON-NLS-1$
|
||||||
|
|
||||||
public static final String LATEST_CHANGES_URL = "https://osmand.net/blog/osmand-3-4-released";
|
public static final String LATEST_CHANGES_URL = "https://osmand.net/blog/osmand-3-5-released";
|
||||||
// public static final String LATEST_CHANGES_URL = null; // not enough to read
|
// public static final String LATEST_CHANGES_URL = null; // not enough to read
|
||||||
public static final int APP_EXIT_CODE = 4;
|
public static final int APP_EXIT_CODE = 4;
|
||||||
public static final String APP_EXIT_KEY = "APP_EXIT_KEY";
|
public static final String APP_EXIT_KEY = "APP_EXIT_KEY";
|
||||||
|
|
|
@ -28,7 +28,7 @@ public class WhatsNewDialogFragment extends DialogFragment {
|
||||||
final OsmandApplication osmandApplication = (OsmandApplication) getActivity().getApplication();
|
final OsmandApplication osmandApplication = (OsmandApplication) getActivity().getApplication();
|
||||||
final String appVersion = Version.getAppVersion(osmandApplication);
|
final String appVersion = Version.getAppVersion(osmandApplication);
|
||||||
builder.setTitle(getString(R.string.whats_new) + " " + appVersion)
|
builder.setTitle(getString(R.string.whats_new) + " " + appVersion)
|
||||||
.setMessage(getString(R.string.release_3_4))
|
.setMessage(getString(R.string.release_3_5))
|
||||||
.setNegativeButton(R.string.shared_string_close, null);
|
.setNegativeButton(R.string.shared_string_close, null);
|
||||||
if (AppInitializer.LATEST_CHANGES_URL != null) {
|
if (AppInitializer.LATEST_CHANGES_URL != null) {
|
||||||
builder.setPositiveButton(R.string.read_more, new DialogInterface.OnClickListener() {
|
builder.setPositiveButton(R.string.read_more, new DialogInterface.OnClickListener() {
|
||||||
|
|
Loading…
Reference in a new issue