2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 22:55:11 +00:00

Add audio playlist using Info::Media::ListWidget.

This commit is contained in:
John Preston
2017-12-09 19:13:06 +04:00
parent 63e89ddc9a
commit 5a7d8bcffb
17 changed files with 390 additions and 138 deletions

View File

@@ -457,7 +457,7 @@ void PeerMenuShareContactBox(not_null<UserData*> user) {
}));
}
void ShowForwardMessagesBox(
QPointer<Ui::RpWidget> ShowForwardMessagesBox(
MessageIdsList &&items,
base::lambda_once<void()> &&successCallback) {
const auto weak = std::make_shared<QPointer<PeerListBox>>();
@@ -493,6 +493,7 @@ void ShowForwardMessagesBox(
*weak = Ui::show(Box<PeerListBox>(
std::make_unique<ChooseRecipientBoxController>(std::move(callback)),
std::move(initBox)), LayerOption::KeepOther);
return weak->data();
}
void PeerMenuAddChannelMembers(not_null<ChannelData*> channel) {