Skip to content

Commit

Permalink
Update quill_screen.dart, i chaged the logic for showing a lock when …
Browse files Browse the repository at this point in the history
…in edit mode and showing edit icon when in lock mode (#2183)
  • Loading branch information
rightpossible authored Sep 4, 2024
1 parent 19e7b64 commit c06a476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/lib/screens/quill/quill_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class _QuillScreenState extends State<QuillScreen> {
],
),
floatingActionButton: FloatingActionButton(
child: Icon(_isReadOnly ? Icons.lock : Icons.edit),
child: Icon(!_isReadOnly ? Icons.lock : Icons.edit),
onPressed: () => setState(() => _isReadOnly = !_isReadOnly),
),
);
Expand Down

0 comments on commit c06a476

Please sign in to comment.