2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Implement drag-n-drop to forum topics.

This commit is contained in:
John Preston
2022-11-01 11:18:56 +04:00
parent 6d215d3729
commit d5ea0149e8
23 changed files with 232 additions and 133 deletions

View File

@@ -142,7 +142,7 @@ object_ptr<ShareBox> ShareInviteLinkBox(
}
const auto error = [&] {
for (const auto peer : result) { // #TODO forum forward
for (const auto peer : result) { // #TODO forum share
const auto error = GetErrorTextForSending(
peer,
{ .text = &comment });
@@ -196,7 +196,7 @@ object_ptr<ShareBox> ShareInviteLinkBox(
showToast(tr::lng_share_done(tr::now));
};
auto filterCallback = [](PeerData *peer) {
return peer->canWrite(); // #TODO forum forward
return peer->canWrite(); // #TODO forum share
};
const auto scheduleStyle = [&] {