Allow sharing manual location without giving location permission (#7295)

This commit is contained in:
Tulir Asokan 2021-12-06 16:53:39 +02:00 committed by GitHub
parent eab028f2f8
commit 2e5a6fc738
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -249,7 +249,7 @@ class LocationPicker extends React.Component<IProps, IState> {
<DialogButtons primaryButton={_t('Share')}
onPrimaryButtonClick={this.onOk}
onCancel={this.props.onFinished}
primaryDisabled={!this.state.position} />
primaryDisabled={!this.state.position && !this.state.manualPosition} />
</form>
</div>
</div>