Skip to content

Commit

Permalink
feat: use hasFocus in focus node listener
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasn committed Jun 3, 2024
1 parent e1f011f commit 13006c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/features/journal/state/entry_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class EntryController extends _$EntryController {
listen();

focusNode.addListener(() {
_isFocused = true;
_isFocused = focusNode.hasFocus;
emitState();

if (isDesktop) {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: lotti
description: Achieve your goals and keep your data private with Lotti.
publish_to: 'none'
version: 0.9.474+2544
version: 0.9.474+2545

msix_config:
display_name: LottiApp
Expand Down

0 comments on commit 13006c3

Please sign in to comment.