💄 Better fullscreen attachment viewer
This commit is contained in:
parent
387f0d14ac
commit
6ace977bf6
@ -54,10 +54,10 @@ class _AttachmentListFullScreenState extends State<AttachmentListFullScreen> {
|
||||
Widget build(BuildContext context) {
|
||||
return DismissiblePage(
|
||||
key: Key('attachment-dismissible${widget.attachment.id}'),
|
||||
direction: DismissiblePageDismissDirection.multi,
|
||||
direction: DismissiblePageDismissDirection.vertical,
|
||||
onDismissed: () => Navigator.pop(context),
|
||||
dismissThresholds: const {
|
||||
DismissiblePageDismissDirection.multi: 0.05,
|
||||
DismissiblePageDismissDirection.vertical: 0.0,
|
||||
},
|
||||
onDragStart: () {
|
||||
setState(() => _showDetails = false);
|
||||
|
Loading…
Reference in New Issue
Block a user