Skip to content

Commit

Permalink
🚑️ Fix search rss url
Browse files Browse the repository at this point in the history
  • Loading branch information
iota9star committed Oct 7, 2024
1 parent 556da63 commit 0c002b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/ui/pages/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class _HomePageState extends State<HomePage> {
);
return PopScope(
canPop: false,
onPopInvoked: (_) {
onPopInvokedWithResult: (_, __) {
const snackBar = SnackBar(
behavior: SnackBarBehavior.floating,
width: 400.0,
Expand Down
4 changes: 2 additions & 2 deletions lib/ui/pages/search.dart
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ class SearchPage extends StatelessWidget {
size: 24.0,
),
onPressed: () {
'${MikanUrls.baseUrl}/RSS/Search?searcher=${Uri.encodeComponent(searchModel.keywordsController.text)}'
'${MikanUrls.baseUrl}/RSS/Search?searchstr=${Uri.encodeComponent(searchModel.keywordsController.text)}'
.copy();
},
),
Expand All @@ -354,7 +354,7 @@ class SearchPage extends StatelessWidget {
size: 24.0,
),
onPressed: () {
'${MikanUrls.baseUrl}/RSS/Search?searcher=${Uri.encodeComponent(searchModel.keywordsController.text)}'
'${MikanUrls.baseUrl}/RSS/Search?searchstr=${Uri.encodeComponent(searchModel.keywordsController.text)}'
.copy();
},
);
Expand Down

0 comments on commit 0c002b2

Please sign in to comment.