Finish after sharing track
This commit is contained in:
parent
f42f10ba4b
commit
08df1d9909
1 changed files with 1 additions and 0 deletions
|
@ -277,6 +277,7 @@ public class BRouterActivity extends AppCompatActivity implements ActivityCompat
|
||||||
if (wpCount == -3 || wpCount == -1) {
|
if (wpCount == -3 || wpCount == -1) {
|
||||||
builder.setPositiveButton("Share GPX", (dialog, which) -> {
|
builder.setPositiveButton("Share GPX", (dialog, which) -> {
|
||||||
mBRouterView.shareTrack();
|
mBRouterView.shareTrack();
|
||||||
|
finish();
|
||||||
});
|
});
|
||||||
} else if (wpCount >= 0) {
|
} else if (wpCount >= 0) {
|
||||||
String selectLabel = wpCount == 0 ? "Select from" : "Select to/via";
|
String selectLabel = wpCount == 0 ? "Select from" : "Select to/via";
|
||||||
|
|
Loading…
Reference in a new issue