mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-04-28 08:11:08 -05:00
[client] Show chrome in resource preview
This commit is contained in:
@@ -60,11 +60,13 @@ class _ResourcePreviewState extends State<ResourcePreview> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final theme = Theme.of(context);
|
||||
return GestureDetector(
|
||||
onTap: () => Navigator.of(context).pop(),
|
||||
child: Scaffold(
|
||||
backgroundColor: Colors.black45,
|
||||
appBar: AppBar(
|
||||
foregroundColor: theme.colorScheme.onInverseSurface,
|
||||
leading: const CloseButton(),
|
||||
actions: [
|
||||
IconButton(
|
||||
|
||||
Reference in New Issue
Block a user