Bugfix: activity type preference has to update the icon when user change the activity type. Fixes #985.

This commit is contained in:
Román Martínez
2021-10-15 22:16:17 +02:00
parent 66dac4b0ca
commit 12e18b0bcd
@@ -116,6 +116,7 @@ public class ActivityTypePreference extends DialogPreference {
}
public void updateUI(String iconValue) {
updateIcon(iconValue);
textView.setText(getActivity().getString(TrackIconUtils.getIconActivityType(iconValue)));
textView.clearFocus();
}