Skip to content
This repository was archived by the owner on Apr 3, 2025. It is now read-only.

Commit a6be658

Browse files
committed
feat(search): view download client queue via overlay sheet
1 parent 0c59886 commit a6be658

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

lib/modules/search/routes/results/route.dart

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
22
import 'package:lunasea/core.dart';
33
import 'package:lunasea/modules/search.dart';
44
import 'package:lunasea/router/routes/search.dart';
5+
import 'package:lunasea/widgets/sheets/download_client/button.dart';
56

67
class ResultsRoute extends StatefulWidget {
78
const ResultsRoute({
@@ -70,6 +71,7 @@ class _State extends State<ResultsRoute> with LunaScrollControllerMixin {
7071
return LunaAppBar(
7172
title: title!,
7273
actions: [
74+
const DownloadClientButton(),
7375
LunaIconButton(
7476
icon: Icons.search_rounded,
7577
onPressed: () => SearchRoutes.SEARCH.go(),

lib/modules/search/routes/search/route.dart

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import 'package:flutter/material.dart';
22
import 'package:lunasea/core.dart';
33
import 'package:lunasea/modules/search.dart';
4+
import 'package:lunasea/widgets/sheets/download_client/button.dart';
45

56
class SearchIndexerRoute extends StatefulWidget {
67
const SearchIndexerRoute({
@@ -78,6 +79,9 @@ class _State extends State<SearchIndexerRoute> with LunaScrollControllerMixin {
7879
submitCallback: _searchCallback,
7980
scrollController: scrollController,
8081
),
82+
actions: const [
83+
DownloadClientButton(),
84+
],
8185
);
8286
}
8387

0 commit comments

Comments
 (0)