Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
Issue 114 changed the name of parameter DEFAULT
Browse files Browse the repository at this point in the history
  • Loading branch information
rajatjc committed Oct 13, 2023
1 parent 11ab13e commit f360283
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -657,12 +657,12 @@ public static boolean shouldInstantExportAfterWorkout() {
}

public static TrackFilenameGenerator getTrackFileformatGenerator() {
String DEFAULT = resources.getString(R.string.export_filename_format_default);
TrackFilenameGenerator generator = new TrackFilenameGenerator(getString(R.string.export_filename_format_key, DEFAULT));
String defaultDate = resources.getString(R.string.export_filename_format_default);
TrackFilenameGenerator generator = new TrackFilenameGenerator(getString(R.string.export_filename_format_key, defaultDate));
if (generator.isValid()) {
return generator;
} else {
return new TrackFilenameGenerator(DEFAULT);
return new TrackFilenameGenerator(defaultDate);
}
}

Expand Down

0 comments on commit f360283

Please sign in to comment.