mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-26 11:04:46 +01:00
Refactor: RecordingLayout.
This commit is contained in:
@@ -56,7 +56,7 @@ class PreferencesOpenHelper {
|
||||
}
|
||||
|
||||
if (!parts.get(1).matches("\\d+")) {
|
||||
parts.add(1, String.valueOf(PreferencesUtils.getLayoutColumnsByDefault()));
|
||||
parts.add(1, String.valueOf(2));
|
||||
}
|
||||
PreferencesUtils.setString(R.string.stats_custom_layouts_key, String.join(CsvLayoutUtils.ITEM_SEPARATOR, parts));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user