Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/utils/show_scaffold_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Future<T?> showScaffoldDialog<T>({
required Widget Function(BuildContext context) builder,
}) => showDialog<T>(
context: context,
useSafeArea: false,

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does change it for all showScaffoldDialog uses. Have you checked all of them? Maybe better make this configurable, keep the default to false and only for the share screen make it true?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah! I'll have a dig and see what other dialogs are using it then test them.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have checked the uses of this dialog. they are all working fine. There are several forwarding and sharing screens using it.
(image_viewer.dart, chat_list.dart, and chat.dart)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ops not sure if i should use resolved or not

useSafeArea: true,
builder: FluffyThemes.isColumnMode(context)
? (context) => Center(
child: Container(
Expand Down