chore: Adjust design
This commit is contained in:
parent
c90fdc3e75
commit
a490a40379
6 changed files with 13 additions and 7 deletions
|
|
@ -74,7 +74,7 @@ abstract class FluffyThemes {
|
|||
),
|
||||
inputDecorationTheme: InputDecorationTheme(
|
||||
border: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(AppConfig.borderRadius),
|
||||
borderRadius: BorderRadius.circular(AppConfig.borderRadius / 2),
|
||||
),
|
||||
contentPadding: const EdgeInsets.all(12),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -191,10 +191,9 @@ class _InviteContactListTile extends StatelessWidget {
|
|||
overflow: TextOverflow.ellipsis,
|
||||
style: TextStyle(color: theme.colorScheme.secondary),
|
||||
),
|
||||
trailing: TextButton.icon(
|
||||
trailing: TextButton(
|
||||
onPressed: isMember ? null : onTap,
|
||||
label: Text(isMember ? l10n.participant : l10n.invite),
|
||||
icon: Icon(isMember ? Icons.check : Icons.add),
|
||||
child: Text(isMember ? l10n.participant : l10n.invite),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -108,7 +108,9 @@ class AdaptiveDialogInkWell extends StatelessWidget {
|
|||
);
|
||||
}
|
||||
return Material(
|
||||
color: theme.colorScheme.surfaceBright,
|
||||
color: onTap == null
|
||||
? theme.colorScheme.surfaceContainer
|
||||
: theme.colorScheme.surfaceBright,
|
||||
borderRadius: BorderRadius.circular(AppConfig.borderRadius / 2),
|
||||
child: InkWell(
|
||||
borderRadius: BorderRadius.circular(AppConfig.borderRadius / 2),
|
||||
|
|
|
|||
|
|
@ -185,6 +185,7 @@ class PublicRoomDialog extends StatelessWidget {
|
|||
style: theme.textTheme.bodyMedium
|
||||
?.copyWith(fontSize: 10),
|
||||
),
|
||||
maxLines: 1,
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ Future<int?> showPermissionChooser(
|
|||
child: Column(
|
||||
mainAxisSize: .min,
|
||||
crossAxisAlignment: .stretch,
|
||||
spacing: 12.0,
|
||||
spacing: 16.0,
|
||||
children: [
|
||||
Text(L10n.of(context).setPowerLevelDescription),
|
||||
ValueListenableBuilder(
|
||||
|
|
|
|||
|
|
@ -91,7 +91,11 @@ class QrCodeViewer extends StatelessWidget {
|
|||
margin: const EdgeInsets.all(32.0),
|
||||
padding: const EdgeInsets.all(32.0),
|
||||
decoration: BoxDecoration(
|
||||
color: theme.colorScheme.primaryContainer,
|
||||
border: Border.all(
|
||||
color: theme.colorScheme.onPrimaryContainer,
|
||||
width: 4,
|
||||
),
|
||||
color: theme.colorScheme.surfaceBright,
|
||||
borderRadius: BorderRadius.circular(AppConfig.borderRadius),
|
||||
),
|
||||
child: Column(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue