Merge pull request #3414 from matrix-org/travis/address-picker-stack

Make uses of AddressPickerDialog static dialogs
This commit is contained in:
Travis Ralston 2019-09-10 12:38:40 -06:00 committed by GitHub
commit ccd42900f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -46,7 +46,7 @@ export function showGroupInviteDialog(groupId) {
_onGroupInviteFinished(groupId, addrs).then(resolve, reject);
},
});
}, /*className=*/null, /*isPriority=*/false, /*isStatic=*/true);
});
}
@ -81,7 +81,7 @@ export function showGroupAddRoomDialog(groupId) {
_onGroupAddRoomFinished(groupId, addrs, addRoomsPublicly).then(resolve, reject);
},
});
}, /*className=*/null, /*isPriority=*/false, /*isStatic=*/true);
});
}

View File

@ -62,7 +62,7 @@ export function showStartChatInviteDialog() {
validAddressTypes,
button: _t("Start Chat"),
onFinished: _onStartDmFinished,
});
}, /*className=*/null, /*isPriority=*/false, /*isStatic=*/true);
}
export function showRoomInviteDialog(roomId) {
@ -88,7 +88,7 @@ export function showRoomInviteDialog(roomId) {
onFinished: (shouldInvite, addrs) => {
_onRoomInviteFinished(roomId, shouldInvite, addrs);
},
});
}, /*className=*/null, /*isPriority=*/false, /*isStatic=*/true);
}
/**

View File

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