From 58c8721face3dfd4f84bb6d0e1af081d08bd3a46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20W=C3=BCrl?= Date: Mon, 21 Oct 2024 21:12:00 +0200 Subject: [PATCH] Use "auto" grid size by default --- .../java/org/blitzortung/android/dialogs/QuickSettingsDialog.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/blitzortung/android/dialogs/QuickSettingsDialog.kt b/app/src/main/java/org/blitzortung/android/dialogs/QuickSettingsDialog.kt index eea8260a..26be323a 100644 --- a/app/src/main/java/org/blitzortung/android/dialogs/QuickSettingsDialog.kt +++ b/app/src/main/java/org/blitzortung/android/dialogs/QuickSettingsDialog.kt @@ -43,7 +43,7 @@ class QuickSettingsDialog : DialogFragment() { val selectedRegion = getSelectedIndex(regionValues, currentRegionValue) val gridSizeValues = resources.getStringArray(R.array.grid_size_values) - val currentGridSizeValue = preferences.get(PreferenceKey.GRID_SIZE, gridSizeValues[1]) + val currentGridSizeValue = preferences.get(PreferenceKey.GRID_SIZE, gridSizeValues[0]) val selectedGridSize = getSelectedIndex(gridSizeValues, currentGridSizeValue) val countThresholdValues = resources.getStringArray(R.array.count_threshold_values)