chore: Design adjustments
This commit is contained in:
parent
4453048285
commit
133e7ab955
4 changed files with 14 additions and 11 deletions
|
|
@ -77,9 +77,7 @@ abstract class FluffyThemes {
|
|||
? Typography.material2018().black.merge(fallbackTextTheme)
|
||||
: Typography.material2018().white.merge(fallbackTextTheme)
|
||||
: null,
|
||||
dividerColor: brightness == Brightness.light
|
||||
? Colors.blueGrey.shade50
|
||||
: Colors.blueGrey.shade900,
|
||||
dividerColor: colorScheme.surfaceContainer,
|
||||
popupMenuTheme: PopupMenuThemeData(
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(AppConfig.borderRadius),
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ class ChatEventList extends StatelessWidget {
|
|||
child: ListView.custom(
|
||||
padding: EdgeInsets.only(
|
||||
top: 16,
|
||||
bottom: 8,
|
||||
bottom: 0,
|
||||
left: horizontalPadding,
|
||||
right: horizontalPadding,
|
||||
),
|
||||
|
|
|
|||
|
|
@ -290,14 +290,15 @@ class ChatView extends StatelessWidget {
|
|||
child: ChatEventList(controller: controller),
|
||||
),
|
||||
),
|
||||
if (controller.showScrollDownButton)
|
||||
Divider(
|
||||
height: 1,
|
||||
color: theme.dividerColor,
|
||||
),
|
||||
if (controller.room.canSendDefaultMessages &&
|
||||
controller.room.membership == Membership.join)
|
||||
Container(
|
||||
margin: EdgeInsets.only(
|
||||
bottom: bottomSheetPadding,
|
||||
left: bottomSheetPadding,
|
||||
right: bottomSheetPadding,
|
||||
),
|
||||
margin: EdgeInsets.all(bottomSheetPadding),
|
||||
constraints: const BoxConstraints(
|
||||
maxWidth: FluffyThemes.columnWidth * 2.5,
|
||||
),
|
||||
|
|
|
|||
|
|
@ -282,15 +282,19 @@ class SettingsStyleView extends StatelessWidget {
|
|||
],
|
||||
),
|
||||
),
|
||||
Divider(
|
||||
color: theme.dividerColor,
|
||||
),
|
||||
ListTile(
|
||||
title: TextButton(
|
||||
title: TextButton.icon(
|
||||
style: TextButton.styleFrom(
|
||||
backgroundColor: theme.colorScheme.secondaryContainer,
|
||||
foregroundColor:
|
||||
theme.colorScheme.onSecondaryContainer,
|
||||
),
|
||||
onPressed: controller.setWallpaper,
|
||||
child: Text(L10n.of(context).setWallpaper),
|
||||
icon: const Icon(Icons.edit_outlined),
|
||||
label: Text(L10n.of(context).setWallpaper),
|
||||
),
|
||||
trailing: accountConfig.wallpaperUrl == null
|
||||
? null
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue