Merge commit '7c8a6743ce6eeb1c94687a429e497bcb71c090ef'

This commit is contained in:
Peter 2019-09-05 16:06:23 +04:00
commit 3ec0170089

View File

@ -350,12 +350,12 @@ public func updateTheme(account: Account, accountManager: AccountManager, theme:
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
}