chore: More nicer event source display

pull/1031/head
krille-chan 2 years ago
parent 0210f791a0
commit ac1ed4dfd0
No known key found for this signature in database

@ -72,11 +72,16 @@ class EventInfoDialog extends StatelessWidget {
padding: const EdgeInsets.all(12.0), padding: const EdgeInsets.all(12.0),
child: Material( child: Material(
borderRadius: BorderRadius.circular(AppConfig.borderRadius), borderRadius: BorderRadius.circular(AppConfig.borderRadius),
color: Theme.of(context).colorScheme.surface, color: Theme.of(context).colorScheme.inverseSurface,
child: SingleChildScrollView( child: SingleChildScrollView(
padding: const EdgeInsets.all(8), padding: const EdgeInsets.all(8),
scrollDirection: Axis.horizontal, scrollDirection: Axis.horizontal,
child: SelectableText(prettyJson), child: SelectableText(
prettyJson,
style: TextStyle(
color: Theme.of(context).colorScheme.onInverseSurface,
),
),
), ),
), ),
), ),

Loading…
Cancel
Save