You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Make uses of AddressPickerDialog static dialogs
Fixes https://github.com/vector-im/riot-web/issues/10603 Static dialogs are ones that stay open underneath other dialogs, like the terms of service prompt. This is how user/room settings operate.
This commit is contained in:
@ -46,7 +46,7 @@ export function showGroupInviteDialog(groupId) {
|
|||||||
|
|
||||||
_onGroupInviteFinished(groupId, addrs).then(resolve, reject);
|
_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);
|
_onGroupAddRoomFinished(groupId, addrs, addRoomsPublicly).then(resolve, reject);
|
||||||
},
|
},
|
||||||
});
|
}, /*className=*/null, /*isPriority=*/false, /*isStatic=*/true);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ export function showStartChatInviteDialog() {
|
|||||||
validAddressTypes,
|
validAddressTypes,
|
||||||
button: _t("Start Chat"),
|
button: _t("Start Chat"),
|
||||||
onFinished: _onStartDmFinished,
|
onFinished: _onStartDmFinished,
|
||||||
});
|
}, /*className=*/null, /*isPriority=*/false, /*isStatic=*/true);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function showRoomInviteDialog(roomId) {
|
export function showRoomInviteDialog(roomId) {
|
||||||
@ -88,7 +88,7 @@ export function showRoomInviteDialog(roomId) {
|
|||||||
onFinished: (shouldInvite, addrs) => {
|
onFinished: (shouldInvite, addrs) => {
|
||||||
_onRoomInviteFinished(roomId, shouldInvite, addrs);
|
_onRoomInviteFinished(roomId, shouldInvite, addrs);
|
||||||
},
|
},
|
||||||
});
|
}, /*className=*/null, /*isPriority=*/false, /*isStatic=*/true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -120,7 +120,7 @@ const CategoryRoomList = createReactClass({
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
});
|
}, /*className=*/null, /*isPriority=*/false, /*isStatic=*/true);
|
||||||
},
|
},
|
||||||
|
|
||||||
render: function() {
|
render: function() {
|
||||||
@ -297,7 +297,7 @@ const RoleUserList = createReactClass({
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
});
|
}, /*className=*/null, /*isPriority=*/false, /*isStatic=*/true);
|
||||||
},
|
},
|
||||||
|
|
||||||
render: function() {
|
render: function() {
|
||||||
|
Reference in New Issue
Block a user