mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-07 09:20:08 +00:00
Fix theme
This commit is contained in:
parent
b42d5b9ac5
commit
bf3e52f80d
@ -1311,7 +1311,8 @@ public final class VoiceChatController: ViewController {
|
|||||||
switch entry {
|
switch entry {
|
||||||
case let .peer(peerEntry):
|
case let .peer(peerEntry):
|
||||||
if peerEntry.ssrc == source {
|
if peerEntry.ssrc == source {
|
||||||
strongSelf.listNode.transaction(deleteIndices: [], insertIndicesAndItems: [], updateIndicesAndItems: [ListViewUpdateItem(index: i, previousIndex: i, item: entry.item(context: strongSelf.context, presentationData: strongSelf.presentationData, interaction: strongSelf.itemInteraction!), directionHint: nil)], options: [.Synchronous], updateOpaqueState: nil)
|
let presentationData = strongSelf.presentationData.withUpdated(theme: strongSelf.darkTheme)
|
||||||
|
strongSelf.listNode.transaction(deleteIndices: [], insertIndicesAndItems: [], updateIndicesAndItems: [ListViewUpdateItem(index: i, previousIndex: i, item: entry.item(context: strongSelf.context, presentationData: presentationData, interaction: strongSelf.itemInteraction!), directionHint: nil)], options: [.Synchronous], updateOpaqueState: nil)
|
||||||
break loop
|
break loop
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
@ -1332,7 +1333,8 @@ public final class VoiceChatController: ViewController {
|
|||||||
switch entry {
|
switch entry {
|
||||||
case let .peer(peerEntry):
|
case let .peer(peerEntry):
|
||||||
if peerEntry.ssrc == strongSelf.videoNodes[i].0 {
|
if peerEntry.ssrc == strongSelf.videoNodes[i].0 {
|
||||||
strongSelf.listNode.transaction(deleteIndices: [], insertIndicesAndItems: [], updateIndicesAndItems: [ListViewUpdateItem(index: i, previousIndex: i, item: entry.item(context: strongSelf.context, presentationData: strongSelf.presentationData, interaction: strongSelf.itemInteraction!), directionHint: nil)], options: [.Synchronous], updateOpaqueState: nil)
|
let presentationData = strongSelf.presentationData.withUpdated(theme: strongSelf.darkTheme)
|
||||||
|
strongSelf.listNode.transaction(deleteIndices: [], insertIndicesAndItems: [], updateIndicesAndItems: [ListViewUpdateItem(index: i, previousIndex: i, item: entry.item(context: strongSelf.context, presentationData: presentationData, interaction: strongSelf.itemInteraction!), directionHint: nil)], options: [.Synchronous], updateOpaqueState: nil)
|
||||||
break loop
|
break loop
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user