mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-03 05:03:45 +00:00
Fix day theme
This commit is contained in:
parent
3ea1d10e95
commit
7df2240cd7
@ -5252,7 +5252,7 @@ Any member of this group will be able to see messages in the channel.";
|
||||
"CreatePoll.MultipleChoice" = "Multiple Choice";
|
||||
"CreatePoll.MultipleChoiceQuizAlert" = "A quiz has one correct answer.";
|
||||
"CreatePoll.Quiz" = "Quiz Mode";
|
||||
"CreatePoll.QuizInfo" = "A quiz has one correct answer. Users can't revoke their answers.";
|
||||
"CreatePoll.QuizInfo" = "Polls in Quiz Mode have one correct answer. Users can't revoke their answers.";
|
||||
"CreatePoll.QuizTip" = "Tap to choose the correct answer";
|
||||
|
||||
"MessagePoll.LabelPoll" = "Public Poll";
|
||||
|
||||
@ -593,7 +593,7 @@ public func makeDefaultDayPresentationTheme(extendingThemeReference: Presentatio
|
||||
fileDescriptionColor: UIColor(rgb: 0xffffff, alpha: 0.65),
|
||||
fileDurationColor: UIColor(rgb: 0xffffff, alpha: 0.65),
|
||||
mediaPlaceholderColor: UIColor(rgb: 0x0077d9),
|
||||
polls: PresentationThemeChatBubblePolls(radioButton: UIColor(rgb: 0xffffff, alpha: 0.65), radioProgress: UIColor(rgb: 0xffffff), highlight: UIColor(rgb: 0xffffff, alpha: 0.12), separator: UIColor(rgb: 0xffffff, alpha: 0.65), bar: UIColor(rgb: 0xffffff), barIconForeground: .white, barPositive: UIColor(rgb: 0xffffff), barNegative: UIColor(rgb: 0xffffff)),
|
||||
polls: PresentationThemeChatBubblePolls(radioButton: UIColor(rgb: 0xffffff, alpha: 0.65), radioProgress: UIColor(rgb: 0xffffff), highlight: UIColor(rgb: 0xffffff, alpha: 0.12), separator: UIColor(rgb: 0xffffff, alpha: 0.65), bar: UIColor(rgb: 0xffffff), barIconForeground: .clear, barPositive: UIColor(rgb: 0xffffff), barNegative: UIColor(rgb: 0xffffff)),
|
||||
actionButtonsFillColor: PresentationThemeVariableColor(withWallpaper: serviceBackgroundColor, withoutWallpaper: UIColor(rgb: 0xffffff, alpha: 0.8)),
|
||||
actionButtonsStrokeColor: PresentationThemeVariableColor(withWallpaper: .clear, withoutWallpaper: UIColor(rgb: 0x007ee5)),
|
||||
actionButtonsTextColor: PresentationThemeVariableColor(withWallpaper: UIColor(rgb: 0xffffff), withoutWallpaper: UIColor(rgb: 0x007ee5)),
|
||||
|
||||
@ -383,7 +383,8 @@ private final class ChatMessagePollOptionRadioNode: ASDisplayNode {
|
||||
let centerPoint = CGPoint(x: 9.28, y: 15.37)
|
||||
let endPoint = CGPoint(x: 16.0, y: 8.0)
|
||||
|
||||
let pathT = alpha
|
||||
let pathStartT: CGFloat = 0.15
|
||||
let pathT = max(0.0, (alpha - pathStartT) / (1.0 - pathStartT))
|
||||
let pathMiddleT: CGFloat = 0.4
|
||||
|
||||
context.move(to: startPoint)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user