Skip to content

Commit

Permalink
QueryType fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0xRe1nk0 committed Jul 18, 2023
1 parent 7c93f53 commit 2caa486
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,6 @@ protected void setupPreferences() {
setupHazmatPreferences();
}

@Override
public ApplyQueryType getApplyQueryType() {
return ApplyQueryType.NONE;
}

private void setupHazmatPreferences() {
Context context = requireContext();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public enum SettingsScreenType {
ANT_PLUS_SETTINGS(ExternalDevicesListFragment.class.getName(), false, null, R.xml.antplus_settings, R.layout.global_preference_toolbar),
WEATHER_SETTINGS(WeatherSettingsFragment.class.getName(), true, ApplyQueryType.SNACK_BAR, R.xml.weather_settings, R.layout.profile_preference_toolbar),
EXTERNAL_SETTINGS_WRITE_TO_TRACK_SETTINGS(ExternalSettingsWriteToTrackSettingsFragment.class.getName(), true, ApplyQueryType.BOTTOM_SHEET, R.xml.external_sensors_write_to_track_settings, R.layout.profile_preference_toolbar),
DANGEROUS_GOODS(DangerousGoodsFragment.class.getName(), true, ApplyQueryType.SNACK_BAR, R.xml.dangerous_goods_parameters, R.layout.global_preference_toolbar);
DANGEROUS_GOODS(DangerousGoodsFragment.class.getName(), true, ApplyQueryType.NONE, R.xml.dangerous_goods_parameters, R.layout.global_preference_toolbar);

public final String fragmentName;
public final boolean profileDependent;
Expand Down

0 comments on commit 2caa486

Please sign in to comment.