Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3414 from matrix-org/travis/address-picker-stack
Browse files Browse the repository at this point in the history
Make uses of AddressPickerDialog static dialogs
  • Loading branch information
turt2live authored Sep 10, 2019
2 parents 096dff4 + 4fbedec commit ccd4290
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/GroupAddressPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function showGroupInviteDialog(groupId) {

_onGroupInviteFinished(groupId, addrs).then(resolve, reject);
},
});
}, /*className=*/null, /*isPriority=*/false, /*isStatic=*/true);
});
}

Expand Down Expand Up @@ -81,7 +81,7 @@ export function showGroupAddRoomDialog(groupId) {

_onGroupAddRoomFinished(groupId, addrs, addRoomsPublicly).then(resolve, reject);
},
});
}, /*className=*/null, /*isPriority=*/false, /*isStatic=*/true);
});
}

Expand Down
4 changes: 2 additions & 2 deletions src/RoomInvite.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function showStartChatInviteDialog() {
validAddressTypes,
button: _t("Start Chat"),
onFinished: _onStartDmFinished,
});
}, /*className=*/null, /*isPriority=*/false, /*isStatic=*/true);
}

export function showRoomInviteDialog(roomId) {
Expand All @@ -88,7 +88,7 @@ export function showRoomInviteDialog(roomId) {
onFinished: (shouldInvite, addrs) => {
_onRoomInviteFinished(roomId, shouldInvite, addrs);
},
});
}, /*className=*/null, /*isPriority=*/false, /*isStatic=*/true);
}

/**
Expand Down
4 changes: 2 additions & 2 deletions src/components/structures/GroupView.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const CategoryRoomList = createReactClass({
});
});
},
});
}, /*className=*/null, /*isPriority=*/false, /*isStatic=*/true);
},

render: function() {
Expand Down Expand Up @@ -297,7 +297,7 @@ const RoleUserList = createReactClass({
});
});
},
});
}, /*className=*/null, /*isPriority=*/false, /*isStatic=*/true);
},

render: function() {
Expand Down

0 comments on commit ccd4290

Please sign in to comment.