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

pull/21833/head
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
1 changed files with 1 additions and 1 deletions

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>