Fix build

This commit is contained in:
Ilya Laktyushin 2024-05-28 18:13:18 +04:00
parent c30fd83ee3
commit a2bdb8aa31

View File

@ -11930,9 +11930,8 @@ public final class PeerInfoScreenImpl: ViewController, PeerInfoScreen, KeyShortc
self.chatLocation = .peer(id: peerId) self.chatLocation = .peer(id: peerId)
} }
if isSettings, let starsContext = context.starsContext { if isSettings {
self.starsContext = starsContext self.starsContext = context.starsContext
starsContext.load()
} else { } else {
self.starsContext = nil self.starsContext = nil
} }