Enable show prefix for phone input in Settings

This fixes an unrelated bug where the currently selected country's prefix number
wasn't being displayed. Since other country dropdown's show the prefix, and this
is also for phone numbers, it seems good to also show it here as well.
This commit is contained in:
J. Ryan Stinnett 2019-03-06 11:22:21 +00:00
parent 8bf5e1d19f
commit 5120ff83be

View file

@ -235,6 +235,7 @@ export default class PhoneNumbers extends React.Component {
value={this.state.phoneCountry} value={this.state.phoneCountry}
disabled={this.state.verifying} disabled={this.state.verifying}
isSmall={true} isSmall={true}
showPrefix={true}
/> />
<Field id="newPhoneNumber" ref="newPhoneNumber" label={_t("Phone Number")} <Field id="newPhoneNumber" ref="newPhoneNumber" label={_t("Phone Number")}
type="text" autoComplete="off" disabled={this.state.verifying} /> type="text" autoComplete="off" disabled={this.state.verifying} />