From dd8d7ba314688a3e766eb109c851fe11f0055d75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anna=20=C5=9Alimak?= Date: Tue, 15 Sep 2020 15:16:33 +0200 Subject: [PATCH] Removed heat map density preference as it's no longer needed --- res/values/strings.xml | 1 - res/xml/preferences.xml | 7 ------- .../screens/settings/SettingsActivity.java | 18 +----------------- 3 files changed, 1 insertion(+), 25 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 385eb216..3c79c298 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -67,7 +67,6 @@ Average sounds (dB) Heat Legend Units Edit Session - CrowdMap grid cell size Loud sounds (dB) Make Note Satellite map diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml index 896783fb..7a351571 100644 --- a/res/xml/preferences.xml +++ b/res/xml/preferences.xml @@ -28,13 +28,6 @@ android:summary="Check to contribute your sessions to the CrowdMap by default" android:title="Contribute to CrowdMap" /> - - = MIN_DENSITY && value <= MAX_DENSITY) { - return true; - } else { - ToastHelper.show(getApplicationContext(), R.string.heat_map_density_warning, Toast.LENGTH_SHORT); - return false; - } - } - } - public class DormantSessionAlertToggleListener implements Preference.OnPreferenceChangeListener { private HashMap mSettings = new HashMap<>(); @@ -162,4 +146,4 @@ protected Void doInBackground(Void... voids) { return true; } } -} \ No newline at end of file +}