Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

# 2.1.1 - 2025-07-19

### Fixed

- Routing error on startup

# 2.1.0 - 2025-07-18

### Added
Expand Down
2 changes: 2 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/300.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
FIXED
- Routing error on startup
2 changes: 2 additions & 0 deletions fastlane/metadata/android/fr-FR/changelogs/300.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CORRIGÉ
- Erreur de redirection au démarrage
1 change: 0 additions & 1 deletion lib/common/actions/notes/add.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,5 @@ Future<void> addNote(BuildContext context, WidgetRef ref, {required NoteType not
}

final EditorPageExtra extra = (readOnly: false, isNewNote: true);

await context.pushNamed(NavigationRoute.editor.name, extra: extra);
}
12 changes: 6 additions & 6 deletions lib/navigation/router.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ String? goRouterRedirect(BuildContext context, GoRouterState state) {
final isLocked = lockAppNotifier.value;

if (!lockApp) {
return null;
}
if (state.matchedLocation == '/') {
return NavigationRoute.notes.path;
}

if (isLocked && state.matchedLocation != NavigationRoute.lock.path) {
return null;
} else if (isLocked && state.matchedLocation != NavigationRoute.lock.path) {
return NavigationRoute.lock.path;
}

if (!isLocked && state.matchedLocation == NavigationRoute.lock.path) {
} else if (!isLocked && state.matchedLocation == NavigationRoute.lock.path) {
return NavigationRoute.notes.path;
}

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: localmaterialnotes
description: Simple, local, material design notes
repository: https://github.com/maelchiotti/LocalMaterialNotes

version: 2.1.0+29
version: 2.1.1+30
publish_to: none

environment:
Expand Down