Various UI fixes

This commit is contained in:
Ilya Laktyushin
2019-08-28 14:34:26 +03:00
parent 759f1b9c02
commit e0a0f66c74
19 changed files with 2803 additions and 2656 deletions

View File

@@ -25,7 +25,7 @@ public func configureLegacyAssetPicker(_ controller: TGMediaAssetsController, co
controller.suggestionContext = legacySuggestionContext(account: context.account, peerId: peer.id)
if peer.id != context.account.peerId {
if peer is TelegramUser {
controller.hasTimer = !hasSchedule
controller.hasTimer = hasSchedule
}
controller.hasSilentPosting = !isSecretChat
}