round popups
This commit is contained in:
parent
1085653d94
commit
2c2e66d842
|
@ -47,9 +47,16 @@ class SingleNotif extends StatelessWidget {
|
|||
model.account.displayName,
|
||||
style: Theme.of(context).textTheme.displaySmall,
|
||||
),
|
||||
SelectableText(
|
||||
"${model.account.acct} ${model.type.actionName}",
|
||||
style: Theme.of(context).textTheme.bodyMedium,
|
||||
SelectableText.rich(
|
||||
TextSpan(
|
||||
text: "${model.account.acct} ",
|
||||
style: Theme.of(context).textTheme.bodySmall,
|
||||
children: [
|
||||
TextSpan(
|
||||
text: model.type.actionName,
|
||||
style: Theme.of(context).textTheme.bodyMedium)
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
|
@ -39,7 +39,9 @@ class ImageAttachmentDisplay extends StatelessWidget {
|
|||
const SizedBox(
|
||||
height: 4,
|
||||
),
|
||||
AltText(text: model.description.toString())
|
||||
model.description == null
|
||||
? const SizedBox()
|
||||
: AltText(text: model.description!),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ ThemeData getTheme(CustomColors colors) {
|
|||
),
|
||||
bodySmall: TextStyle(
|
||||
color: colors.colorScheme.secondary,
|
||||
fontSize: 14,
|
||||
fontSize: 18,
|
||||
),
|
||||
displayLarge: TextStyle(
|
||||
color: colors.colorScheme.onSurface,
|
||||
|
@ -121,6 +121,7 @@ ThemeData getTheme(CustomColors colors) {
|
|||
fontWeight: FontWeight.w700,
|
||||
),
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: const BorderRadius.all(Radius.circular(8)),
|
||||
color: colors.colorScheme.primary,
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue