fix third occurrence
This commit is contained in:
parent
76674d9acd
commit
97a540dd32
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ public class GpxNotification extends OsmandNotification {
|
||||||
notificationText = app.getString(R.string.shared_string_recorded)
|
notificationText = app.getString(R.string.shared_string_recorded)
|
||||||
+ ": " + OsmAndFormatter.getFormattedDistance(recordedDistance, app);
|
+ ": " + OsmAndFormatter.getFormattedDistance(recordedDistance, app);
|
||||||
} else {
|
} else {
|
||||||
if (recordedDistance > 0) {
|
if (app.getSavingTrackHelper().getTrkPoints() > 0) {
|
||||||
notificationTitle = app.getString(R.string.shared_string_paused) + " • "
|
notificationTitle = app.getString(R.string.shared_string_paused) + " • "
|
||||||
+ Algorithms.formatDuration((int) (app.getSavingTrackHelper().getDuration() / 1000), true);
|
+ Algorithms.formatDuration((int) (app.getSavingTrackHelper().getDuration() / 1000), true);
|
||||||
notificationText = app.getString(R.string.shared_string_recorded)
|
notificationText = app.getString(R.string.shared_string_recorded)
|
||||||
|
|
Loading…
Reference in a new issue