design: Minor design refactoring

This commit is contained in:
Christian Pauly 2021-05-16 11:29:18 +02:00
parent 0b3734ff2b
commit 85be044726
3 changed files with 3 additions and 9 deletions

View File

@ -511,7 +511,7 @@ class ChatUI extends StatelessWidget {
controller.room.membership == Membership.join controller.room.membership == Membership.join
? Container( ? Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: Theme.of(context).backgroundColor, color: Theme.of(context).scaffoldBackgroundColor,
), ),
child: Row( child: Row(
crossAxisAlignment: CrossAxisAlignment.end, crossAxisAlignment: CrossAxisAlignment.end,

View File

@ -38,13 +38,7 @@ class SettingsUI extends StatelessWidget {
expandedHeight: 300.0, expandedHeight: 300.0,
floating: true, floating: true,
pinned: true, pinned: true,
title: Text(L10n.of(context).settings, title: Text(L10n.of(context).settings),
style: TextStyle(
color: Theme.of(context)
.appBarTheme
.textTheme
.headline6
.color)),
actions: [ actions: [
FutureBuilder( FutureBuilder(
future: controller.crossSigningCachedFuture, future: controller.crossSigningCachedFuture,

View File

@ -258,7 +258,7 @@ class _MetaRow extends StatelessWidget {
Text( Text(
event.originServerTs.localizedTime(context), event.originServerTs.localizedTime(context),
style: TextStyle( style: TextStyle(
color: color.withAlpha(164), color: color.withAlpha(180),
fontSize: 10 * AppConfig.fontSizeFactor, fontSize: 10 * AppConfig.fontSizeFactor,
), ),
), ),