Add uploadsBar section to theme

This commit is contained in:
miruka 2019-11-06 16:14:48 -04:00
parent 67cffa854d
commit c6bb41573f
3 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,4 @@
- Media - Media
- Theming (upload bar, media text bubbles)
- Downloading - Downloading
- Bottom/top bar - Bottom/top bar
- Verify things work with chat.privacytools.io (subdomain weirdness) - Verify things work with chat.privacytools.io (subdomain weirdness)

View File

@ -7,7 +7,7 @@ Rectangle {
id: uploadsBar id: uploadsBar
implicitWidth: 800 implicitWidth: 800
implicitHeight: firstDelegate ? firstDelegate.height : 0 implicitHeight: firstDelegate ? firstDelegate.height : 0
color: theme.chat.typingMembers.background color: theme.chat.uploadsBar.background
opacity: implicitHeight ? 1 : 0 opacity: implicitHeight ? 1 : 0
clip: true clip: true

View File

@ -362,6 +362,9 @@ chat:
colors.hue, colors.saturation, colors.intensity * 9, 0.52 colors.hue, colors.saturation, colors.intensity * 9, 0.52
) )
uploadsBar:
color background: chat.typingMembers.background
composer: composer:
color background: colors.strongBackground color background: colors.strongBackground