Rename snackbar button

This commit is contained in:
androiddevkotlin 2021-02-09 10:05:01 +02:00
parent 7315679c8f
commit ddce9bf955

View file

@ -396,7 +396,7 @@ public class TripRecordingActiveBottomSheet extends MenuBottomSheetDialogFragmen
Snackbar snackbar = Snackbar.make(mapActivity.getLayout(), Snackbar snackbar = Snackbar.make(mapActivity.getLayout(),
getString(R.string.shared_string_file_is_saved, gpxFileName), getString(R.string.shared_string_file_is_saved, gpxFileName),
Snackbar.LENGTH_LONG) Snackbar.LENGTH_LONG)
.setAction(R.string.shared_string_undo, new View.OnClickListener() { .setAction(R.string.shared_string_rename, new View.OnClickListener() {
@Override @Override
public void onClick(View view) { public void onClick(View view) {
final WeakReference<MapActivity> mapActivityRef = new WeakReference<>(mapActivity); final WeakReference<MapActivity> mapActivityRef = new WeakReference<>(mapActivity);