Various improvements

This commit is contained in:
Isaac
2025-08-01 16:07:23 +02:00
parent 02097cc6da
commit 375c2a6b6e
16 changed files with 1280 additions and 78 deletions

View File

@@ -376,7 +376,8 @@ public class ChatMessageDateAndStatusNode: ASDisplayNode {
extractedForeground: arguments.presentationData.theme.theme.contextMenu.primaryColor.argb,
extractedSelectedForeground: arguments.presentationData.theme.theme.overallDarkAppearance ? themeColors.reactionActiveForeground.argb : arguments.presentationData.theme.theme.contextMenu.primaryColor.argb,
deselectedMediaPlaceholder: themeColors.reactionInactiveMediaPlaceholder.argb,
selectedMediaPlaceholder: themeColors.reactionActiveMediaPlaceholder.argb
selectedMediaPlaceholder: themeColors.reactionActiveMediaPlaceholder.argb,
isDark: arguments.presentationData.theme.theme.overallDarkAppearance
)
case .BubbleOutgoing, .ImageOutgoing, .FreeOutgoing:
let themeColors = bubbleColorComponents(theme: arguments.presentationData.theme.theme, incoming: false, wallpaper: !arguments.presentationData.theme.wallpaper.isEmpty)
@@ -395,7 +396,8 @@ public class ChatMessageDateAndStatusNode: ASDisplayNode {
extractedForeground: arguments.presentationData.theme.theme.contextMenu.primaryColor.argb,
extractedSelectedForeground: arguments.presentationData.theme.theme.overallDarkAppearance ? themeColors.reactionActiveForeground.argb : arguments.presentationData.theme.theme.list.itemCheckColors.foregroundColor.argb,
deselectedMediaPlaceholder: themeColors.reactionInactiveMediaPlaceholder.argb,
selectedMediaPlaceholder: themeColors.reactionActiveMediaPlaceholder.argb
selectedMediaPlaceholder: themeColors.reactionActiveMediaPlaceholder.argb,
isDark: arguments.presentationData.theme.theme.overallDarkAppearance
)
}