This repository was archived by the owner on Apr 3, 2025. It is now read-only.
File tree 2 files changed +6
-0
lines changed
lib/modules/search/routes
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
2
2
import 'package:lunasea/core.dart' ;
3
3
import 'package:lunasea/modules/search.dart' ;
4
4
import 'package:lunasea/router/routes/search.dart' ;
5
+ import 'package:lunasea/widgets/sheets/download_client/button.dart' ;
5
6
6
7
class ResultsRoute extends StatefulWidget {
7
8
const ResultsRoute ({
@@ -70,6 +71,7 @@ class _State extends State<ResultsRoute> with LunaScrollControllerMixin {
70
71
return LunaAppBar (
71
72
title: title! ,
72
73
actions: [
74
+ const DownloadClientButton (),
73
75
LunaIconButton (
74
76
icon: Icons .search_rounded,
75
77
onPressed: () => SearchRoutes .SEARCH .go (),
Original file line number Diff line number Diff line change 1
1
import 'package:flutter/material.dart' ;
2
2
import 'package:lunasea/core.dart' ;
3
3
import 'package:lunasea/modules/search.dart' ;
4
+ import 'package:lunasea/widgets/sheets/download_client/button.dart' ;
4
5
5
6
class SearchIndexerRoute extends StatefulWidget {
6
7
const SearchIndexerRoute ({
@@ -78,6 +79,9 @@ class _State extends State<SearchIndexerRoute> with LunaScrollControllerMixin {
78
79
submitCallback: _searchCallback,
79
80
scrollController: scrollController,
80
81
),
82
+ actions: const [
83
+ DownloadClientButton (),
84
+ ],
81
85
);
82
86
}
83
87
You can’t perform that action at this time.
0 commit comments