Skip to content

Commit

Permalink
chore: bump version 0.6.4 (#5744)
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasXu0 authored Jul 16, 2024
1 parent dc6349b commit f36e3ae
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Release Notes
## Version 0.6.4 - 15/07/2024
## Version 0.6.4 - 16/07/2024
### New Features
-
- Enhanced the message style on the AI chat page.
- Added the ability to choose cursor color and selection color from a palette in settings page.
### Bug Fixes
-
- Optimized the performance for loading recent pages.
- Fixed an issue where the cursor would jump randomly when typing in the document title on mobile.

## Version 0.6.3 - 08/07/2024
### New Features
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ class _DocumentImmersiveCoverState extends State<DocumentImmersiveCover> {
child: BlocConsumer<DocumentImmersiveCoverBloc,
DocumentImmersiveCoverState>(
listener: (context, state) {
textEditingController.text = state.name;
if (textEditingController.text.isEmpty) {
textEditingController.text = state.name;
}
},
builder: (_, state) {
final iconAndTitle = _buildIconAndTitle(context, state);
Expand Down Expand Up @@ -159,8 +161,16 @@ class _DocumentImmersiveCoverState extends State<DocumentImmersiveCover> {
state.cover.isNone || state.cover.isPresets ? null : Colors.white,
overflow: TextOverflow.ellipsis,
),
onChanged: _rename,
onSubmitted: _rename,
onChanged: (name) => Debounce.debounce(
'rename',
const Duration(milliseconds: 300),
() => _rename(name),
),
onSubmitted: (name) => Debounce.debounce(
'rename',
const Duration(milliseconds: 300),
() => _rename(name),
),
);
}

Expand Down

0 comments on commit f36e3ae

Please sign in to comment.