mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Temp
This commit is contained in:
@@ -145,14 +145,14 @@ public final class TelegramPeerNotificationSettings: PeerNotificationSettings, E
|
||||
return TelegramPeerNotificationSettings(muteState: .unmuted, messageSound: .default, displayPreviews: .default)
|
||||
}
|
||||
|
||||
public var isRemovedFromTotalUnreadCount: Bool {
|
||||
public func isRemovedFromTotalUnreadCount(`default`: Bool) -> Bool {
|
||||
switch self.muteState {
|
||||
case .unmuted:
|
||||
return false
|
||||
case .muted:
|
||||
return true
|
||||
case .default:
|
||||
return false
|
||||
return `default`
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user