From edaf7079ac602387f1323c0ee6a7ee7bdc912f5b Mon Sep 17 00:00:00 2001 From: Erica Z Date: Mon, 28 Oct 2024 09:47:27 +0100 Subject: [PATCH] add dropdown to album view --- src/ui/window.blp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/ui/window.blp b/src/ui/window.blp index e2e224c..b5d5408 100644 --- a/src/ui/window.blp +++ b/src/ui/window.blp @@ -47,6 +47,22 @@ template $UiWindow: Adw.ApplicationWindow { CenterBox { styles [ "toolbar" ] + [start] + DropDown { + selected: 0; + model: StringList { + strings [ + _("Random"), + _("Recently added"), + _("Most played"), + _("Recently played"), + _("Starred"), + _("Name"), + _("Artist"), + ] + }; + } + [center] SearchEntry { placeholder-text: _("Search...");