design: Minor design refactoring
This commit is contained in:
parent
1d14323fe2
commit
6bcf349813
3 changed files with 3 additions and 9 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue