Finish after sharing track

This commit is contained in:
Manuel Fuhr 2022-06-08 06:52:50 +02:00
parent f42f10ba4b
commit 08df1d9909

View file

@ -277,6 +277,7 @@ public class BRouterActivity extends AppCompatActivity implements ActivityCompat
if (wpCount == -3 || wpCount == -1) {
builder.setPositiveButton("Share GPX", (dialog, which) -> {
mBRouterView.shareTrack();
finish();
});
} else if (wpCount >= 0) {
String selectLabel = wpCount == 0 ? "Select from" : "Select to/via";