Skip to content

Commit

Permalink
feat(search): view download client queue via overlay sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
JagandeepBrar committed Sep 22, 2022
1 parent 0c59886 commit a6be658
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/modules/search/routes/results/route.dart
Expand Up @@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
import 'package:lunasea/core.dart';
import 'package:lunasea/modules/search.dart';
import 'package:lunasea/router/routes/search.dart';
import 'package:lunasea/widgets/sheets/download_client/button.dart';

class ResultsRoute extends StatefulWidget {
const ResultsRoute({
Expand Down Expand Up @@ -70,6 +71,7 @@ class _State extends State<ResultsRoute> with LunaScrollControllerMixin {
return LunaAppBar(
title: title!,
actions: [
const DownloadClientButton(),
LunaIconButton(
icon: Icons.search_rounded,
onPressed: () => SearchRoutes.SEARCH.go(),
Expand Down
4 changes: 4 additions & 0 deletions lib/modules/search/routes/search/route.dart
@@ -1,6 +1,7 @@
import 'package:flutter/material.dart';
import 'package:lunasea/core.dart';
import 'package:lunasea/modules/search.dart';
import 'package:lunasea/widgets/sheets/download_client/button.dart';

class SearchIndexerRoute extends StatefulWidget {
const SearchIndexerRoute({
Expand Down Expand Up @@ -78,6 +79,9 @@ class _State extends State<SearchIndexerRoute> with LunaScrollControllerMixin {
submitCallback: _searchCallback,
scrollController: scrollController,
),
actions: const [
DownloadClientButton(),
],
);
}

Expand Down

0 comments on commit a6be658

Please sign in to comment.