-typo [skip ci]

This commit is contained in:
overtake 2019-08-29 22:32:32 +03:00
parent 8466d0fbcc
commit 79602e3ae2

View File

@ -321,12 +321,12 @@ public func updateTheme(account: Account, theme: TelegramTheme, title: String?,
return .complete()
}
var flags: Int32 = 0
if let _ = title {
flags |= 1 << 1
}
if let slug = slug, !slug.isEmpty {
flags |= 1 << 0
}
if let _ = title {
flags |= 1 << 1
}
if let _ = resource {
flags |= 1 << 2
}