Fix build on Windows.

This commit is contained in:
John Preston 2024-08-14 16:47:21 +02:00
parent 6d61caea4e
commit 80b3754be1
3 changed files with 4 additions and 4 deletions

View file

@ -424,12 +424,12 @@ SponsoredMessages::Details SponsoredMessages::lookupDetails(
.link = data.link,
.buttonText = data.from.buttonText,
.photoId = data.from.photoId,
.mediaPhotoId = data.from.mediaPhotoId,
.mediaDocumentId = data.from.mediaDocumentId,
.backgroundEmojiId = data.from.backgroundEmojiId,
.colorIndex = data.from.colorIndex,
.isLinkInternal = data.from.isLinkInternal,
.canReport = data.from.canReport,
.mediaPhotoId = data.from.mediaPhotoId,
.mediaDocumentId = data.from.mediaDocumentId,
};
}

View file

@ -48,7 +48,7 @@ enum class Backend;
} // namespace Ui::GL
namespace Ui::Menu {
class MenuCallback;
struct MenuCallback;
} // namespace Ui::Menu
namespace Platform {

View file

@ -14,7 +14,7 @@ class Show;
namespace Ui {
class RpWidget;
namespace Menu {
class MenuCallback;
struct MenuCallback;
} // namespace Menu
} // namespace Ui