Skip to content

Commit

Permalink
remove uses of TANDEM_NAME_SUFFIX, https://github.com/phetsims/projec…
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Feb 27, 2024
1 parent 26d28bf commit 34af6fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions js/common/view/BeakerUnitsControl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import PickRequired from '../../../../phet-core/js/types/PickRequired.js';
import AquaRadioButtonGroup, { AquaRadioButtonGroupItem, AquaRadioButtonGroupOptions } from '../../../../sun/js/AquaRadioButtonGroup.js';
import { BeakerUnits } from '../BLLQueryParameters.js';
import beersLawLab from '../../beersLawLab.js';
import AquaRadioButton from '../../../../sun/js/AquaRadioButton.js';
import BeersLawLabStrings from '../../BeersLawLabStrings.js';
import PreferencesDialog from '../../../../joist/js/preferences/PreferencesDialog.js';
import TReadOnlyProperty from '../../../../axon/js/TReadOnlyProperty.js';
Expand Down Expand Up @@ -91,7 +90,7 @@ function createItem( value: BeakerUnits, stringProperty: TReadOnlyProperty<strin
font: PreferencesDialog.CONTENT_FONT,
maxWidth: 200
} ),
tandemName: `${value}${AquaRadioButton.TANDEM_NAME_SUFFIX}`
tandemName: `${value}RadioButton`
};
}

Expand Down
3 changes: 1 addition & 2 deletions js/common/view/ConcentrationMeterUnitsControl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import PickRequired from '../../../../phet-core/js/types/PickRequired.js';
import AquaRadioButtonGroup, { AquaRadioButtonGroupItem, AquaRadioButtonGroupOptions } from '../../../../sun/js/AquaRadioButtonGroup.js';
import { ConcentrationMeterUnits } from '../BLLQueryParameters.js';
import beersLawLab from '../../beersLawLab.js';
import AquaRadioButton from '../../../../sun/js/AquaRadioButton.js';
import BeersLawLabStrings from '../../BeersLawLabStrings.js';
import PreferencesDialog from '../../../../joist/js/preferences/PreferencesDialog.js';
import TReadOnlyProperty from '../../../../axon/js/TReadOnlyProperty.js';
Expand Down Expand Up @@ -91,7 +90,7 @@ function createItem( value: ConcentrationMeterUnits, stringProperty: TReadOnlyPr
font: PreferencesDialog.CONTENT_FONT,
maxWidth: 200
} ),
tandemName: `${value}${AquaRadioButton.TANDEM_NAME_SUFFIX}`
tandemName: `${value}RadioButton`
};
}

Expand Down

0 comments on commit 34af6fe

Please sign in to comment.