Skip to content

Commit 6527713

Browse files
committed
refactor: Add route for search article details
- Added searchArticleDetailsName - Allows direct navigation
1 parent e714466 commit 6527713

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/router/routes.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ abstract final class Routes {
2525
// --- Sub Routes ---
2626
// Article details is now relative to feed
2727
static const articleDetailsName = 'articleDetails';
28+
// Add a new name for article details when accessed from search
29+
static const searchArticleDetailsName = 'searchArticleDetails';
2830
// Settings is now relative to account
2931
static const settings = 'settings'; // Relative path
3032
static const settingsName = 'settings';

0 commit comments

Comments
 (0)