mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
Update view on sensor list change
This commit is contained in:
@@ -72,9 +72,8 @@ public class CurrentValuesAdapter extends BaseAdapter {
|
|||||||
keys[i] = Integer.parseInt(sensor);
|
keys[i] = Integer.parseInt(sensor);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
notifyDataSetChanged();
|
|
||||||
|
|
||||||
//context.layout.setAdapter(CurrentValuesAdapter.this);
|
context.layout.setAdapter(CurrentValuesAdapter.this);
|
||||||
} else if (pkey == context.getString(R.string.PREF_TRACKING_IMPERIAL_UNITS)) {
|
} else if (pkey == context.getString(R.string.PREF_TRACKING_IMPERIAL_UNITS)) {
|
||||||
imperial = sharedPreferences.getBoolean(pkey, false);
|
imperial = sharedPreferences.getBoolean(pkey, false);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user