mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix build with Xcode.
This commit is contained in:
parent
12dd72bddf
commit
aacb720664
3 changed files with 2 additions and 3 deletions
|
@ -490,7 +490,7 @@ PreparedShortInfoUserpic PrepareShortInfoFallbackUserpic(
|
||||||
1,
|
1,
|
||||||
1,
|
1,
|
||||||
1))
|
1))
|
||||||
: rpl::never<UserPhotosSlice>();
|
: (rpl::never<UserPhotosSlice>() | rpl::type_erased());
|
||||||
auto process = [=](not_null<UserpicState*> state) {
|
auto process = [=](not_null<UserpicState*> state) {
|
||||||
if (photoId) {
|
if (photoId) {
|
||||||
ProcessFullPhoto(peer, state, peer->owner().photo(*photoId));
|
ProcessFullPhoto(peer, state, peer->owner().photo(*photoId));
|
||||||
|
|
|
@ -30,7 +30,7 @@ namespace Ui {
|
||||||
class ScrollArea;
|
class ScrollArea;
|
||||||
class PlainShadow;
|
class PlainShadow;
|
||||||
class FlatButton;
|
class FlatButton;
|
||||||
class PreparedList;
|
struct PreparedList;
|
||||||
class SendFilesWay;
|
class SendFilesWay;
|
||||||
} // namespace Ui
|
} // namespace Ui
|
||||||
|
|
||||||
|
|
|
@ -618,7 +618,6 @@ void UserpicButton::processPeerPhoto() {
|
||||||
if (_showPeerUserpic) {
|
if (_showPeerUserpic) {
|
||||||
_peer->loadUserpic();
|
_peer->loadUserpic();
|
||||||
} else if (_nonPersonalView) {
|
} else if (_nonPersonalView) {
|
||||||
AssertIsDebug();
|
|
||||||
showNonPersonal->load(Data::FileOriginFullUser{
|
showNonPersonal->load(Data::FileOriginFullUser{
|
||||||
peerToUser(user->id),
|
peerToUser(user->id),
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue