Skip to content

Commit fe920a6

Browse files
committed
Disable context menu on auth page for web
1 parent 8f415a8 commit fe920a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/models/app_model.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ abstract class AbstractModel extends EasyNotifier {}
1616
// * Make sure file is cleared when we logout (ChangeUserCommand)
1717
class AppModel extends AbstractModel {
1818
static const kFileName = "app-model";
19-
static const kVersion = "1.1.0";
19+
static const kVersion = "1.1.1";
2020

2121
// Enable "isGuestUser" if we have no current user, but firebase has been assigned a userId, and we have a current book.
2222
// This should cause the app to show a single scrap-board view, with read-only functionality.

lib/views/auth_page/auth_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class _AuthPageState extends State<AuthPage> with LoadingStateMixin {
5151
String switchLabel = isCreatingAccount ? "Already have an account?" : "Create an account?";
5252
return Stack(
5353
children: [
54-
ContextMenuRegion(contextMenu: AppContextMenu(), child: Container()),
54+
ContextMenuRegion(isEnabled: kIsWeb == false, contextMenu: AppContextMenu(), child: Container()),
5555
Center(
5656
child: IntrinsicHeight(
5757
child: Container(

0 commit comments

Comments
 (0)