Fixed max connections setting being shown in release builds.
This commit is contained in:
parent
578d8d9b76
commit
6ec9b949c5
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class SettingsFragment extends PreferenceFragment with OnPreferenceChangeListene
|
|||
scanInterval.setSummary(prefs.getString(
|
||||
KeyScanInterval, getResources.getString(R.string.default_scan_interval)))
|
||||
|
||||
if (!BuildConfig.DEBUG) {
|
||||
if (BuildConfig.DEBUG) {
|
||||
maxConnections.setOnPreferenceChangeListener(this)
|
||||
maxConnections.setSummary(prefs.getString(
|
||||
MaxConnections, getResources.getString(R.string.default_max_connections)))
|
||||
|
|
Reference in a new issue