From 8196311720c024202d045faaa0abab3c2c73036a Mon Sep 17 00:00:00 2001
From: X Code <singerdmx@gmail.com>
Date: Sat, 8 Oct 2022 22:18:22 -0700
Subject: [PATCH] Fixed the read only demo page

---
 example/lib/pages/home_page.dart | 1 +
 1 file changed, 1 insertion(+)

diff --git a/example/lib/pages/home_page.dart b/example/lib/pages/home_page.dart
index fcff61f2..743ec9b4 100644
--- a/example/lib/pages/home_page.dart
+++ b/example/lib/pages/home_page.dart
@@ -347,6 +347,7 @@ class _HomePageState extends State<HomePage> {
   }
 
   void _readOnly() {
+    Navigator.pop(super.context);
     Navigator.push(
       super.context,
       MaterialPageRoute(