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