chore: Minor design fixes

This commit is contained in:
Krille 2023-10-23 13:58:43 +02:00
parent af6cb60836
commit 9b523b00a6
No known key found for this signature in database
3 changed files with 16 additions and 4 deletions

View file

@ -225,7 +225,13 @@ class ChatView extends StatelessWidget {
Material(
color: Theme.of(context)
.colorScheme
.secondaryContainer,
.surfaceVariant,
shape: Border(
bottom: BorderSide(
width: 1,
color: Theme.of(context).dividerColor,
),
),
child: ListTile(
leading: IconButton(
color: Theme.of(context)

View file

@ -36,7 +36,7 @@ class ReplyContent extends StatelessWidget {
maxLines: 1,
style: TextStyle(
color: ownMessage
? Theme.of(context).colorScheme.onPrimaryContainer
? Theme.of(context).colorScheme.onPrimary
: Theme.of(context).colorScheme.onBackground,
fontSize: fontSize,
),
@ -49,7 +49,7 @@ class ReplyContent extends StatelessWidget {
width: 3,
height: fontSize * 2 + 6,
color: ownMessage
? Theme.of(context).colorScheme.onPrimaryContainer
? Theme.of(context).colorScheme.onPrimary
: Theme.of(context).colorScheme.onBackground,
),
const SizedBox(width: 6),
@ -68,7 +68,7 @@ class ReplyContent extends StatelessWidget {
style: TextStyle(
fontWeight: FontWeight.bold,
color: ownMessage
? Theme.of(context).colorScheme.onPrimaryContainer
? Theme.of(context).colorScheme.onPrimary
: Theme.of(context).colorScheme.onBackground,
fontSize: fontSize,
),

View file

@ -73,6 +73,12 @@ class PinnedEvents extends StatelessWidget {
final fontSize = AppConfig.messageFontSize * AppConfig.fontSizeFactor;
return Material(
color: Theme.of(context).colorScheme.surfaceVariant,
shape: Border(
bottom: BorderSide(
width: 1,
color: Theme.of(context).dividerColor,
),
),
child: InkWell(
onTap: () => _displayPinnedEventsDialog(
context,