chore: Follow up design changes
This commit is contained in:
parent
9e13bd8dfd
commit
a9448f293c
2 changed files with 23 additions and 18 deletions
|
|
@ -116,7 +116,12 @@ abstract class FluffyThemes {
|
||||||
),
|
),
|
||||||
outlinedButtonTheme: OutlinedButtonThemeData(
|
outlinedButtonTheme: OutlinedButtonThemeData(
|
||||||
style: OutlinedButton.styleFrom(
|
style: OutlinedButton.styleFrom(
|
||||||
|
side: BorderSide(
|
||||||
|
width: 1,
|
||||||
|
color: colorScheme.primary,
|
||||||
|
),
|
||||||
shape: RoundedRectangleBorder(
|
shape: RoundedRectangleBorder(
|
||||||
|
side: BorderSide(color: colorScheme.primary),
|
||||||
borderRadius: BorderRadius.circular(AppConfig.borderRadius / 2),
|
borderRadius: BorderRadius.circular(AppConfig.borderRadius / 2),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -188,26 +188,26 @@ class ChatDetailsView extends StatelessWidget {
|
||||||
height: 1,
|
height: 1,
|
||||||
color: Theme.of(context).dividerColor,
|
color: Theme.of(context).dividerColor,
|
||||||
),
|
),
|
||||||
ListTile(
|
if (!room.canChangeStateEvent(EventTypes.RoomTopic))
|
||||||
onTap: room.canSendEvent(EventTypes.RoomTopic)
|
ListTile(
|
||||||
? controller.setTopicAction
|
title: Text(
|
||||||
: null,
|
L10n.of(context)!.groupDescription,
|
||||||
trailing: room.canSendEvent(EventTypes.RoomTopic)
|
style: TextStyle(
|
||||||
? Icon(
|
color: Theme.of(context).colorScheme.secondary,
|
||||||
Icons.edit_outlined,
|
fontWeight: FontWeight.bold,
|
||||||
color: Theme.of(context)
|
),
|
||||||
.colorScheme
|
),
|
||||||
.onBackground,
|
)
|
||||||
)
|
else
|
||||||
: null,
|
Padding(
|
||||||
title: Text(
|
padding: const EdgeInsets.all(16.0),
|
||||||
L10n.of(context)!.groupDescription,
|
child: OutlinedButton.icon(
|
||||||
style: TextStyle(
|
onPressed: controller.setTopicAction,
|
||||||
color: Theme.of(context).colorScheme.secondary,
|
label:
|
||||||
fontWeight: FontWeight.bold,
|
Text(L10n.of(context)!.setGroupDescription),
|
||||||
|
icon: const Icon(Icons.edit_outlined),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.symmetric(
|
padding: const EdgeInsets.symmetric(
|
||||||
horizontal: 16.0,
|
horizontal: 16.0,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue