diff --git a/lib/components/home/export_note_button.dart b/lib/components/home/export_note_button.dart index da8756ad9..d35929a87 100644 --- a/lib/components/home/export_note_button.dart +++ b/lib/components/home/export_note_button.dart @@ -85,6 +85,7 @@ class _ExportNoteButtonState extends State { openCloseDial: isDialOpen, childPadding: const EdgeInsets.all(5), spaceBetweenChildren: 4, + switchLabelPosition: Directionality.of(context) == TextDirection.rtl, dialRoot: (context, open, toggleChildren) { return _currentlyExporting ? const SpinningLoadingIcon() diff --git a/lib/components/home/new_note_button.dart b/lib/components/home/new_note_button.dart index 85fbdff29..339c373fb 100644 --- a/lib/components/home/new_note_button.dart +++ b/lib/components/home/new_note_button.dart @@ -32,6 +32,7 @@ class _NewNoteButtonState extends State { openCloseDial: isDialOpen, childPadding: const EdgeInsets.all(5), spaceBetweenChildren: 4, + switchLabelPosition: Directionality.of(context) == TextDirection.rtl, dialRoot: (ctx, open, toggleChildren) { return FloatingActionButton( shape: widget.cupertino ? const CircleBorder() : null,