diff --git a/src/plugins/start/settings.plugins/components/BrowseFilterAndSortActionSheet.tsx b/src/plugins/start/settings.plugins/components/BrowseFilterAndSortActionSheet.tsx index 7ceed9f..208f9c6 100644 --- a/src/plugins/start/settings.plugins/components/BrowseFilterAndSortActionSheet.tsx +++ b/src/plugins/start/settings.plugins/components/BrowseFilterAndSortActionSheet.tsx @@ -32,6 +32,11 @@ export interface BrowseFilterAndSortActionSheetProps { /** Checked repository URLs. */ checked: string[] setChecked: (urls: string[]) => void + /** Available release channels across all listings. */ + channels: string[] + /** Selected release channel. Empty string means default. */ + channel: string + setChannel: (channel: string) => void sort: BrowseSortKey setSort: (sort: BrowseSortKey) => void reverse: boolean @@ -42,6 +47,9 @@ export default function BrowseFilterAndSortActionSheet({ repos, checked, setChecked, + channels, + channel, + setChannel, sort, setSort, reverse, @@ -76,6 +84,19 @@ export default function BrowseFilterAndSortActionSheet({ ) })} + setChannel(v as string)} + > + + {channels.map(c => ( + + ))} +