From a6a4a5d6d7093724b3858a006686f4e627825661 Mon Sep 17 00:00:00 2001 From: Eduardo Flores Date: Mon, 29 Apr 2024 20:40:00 -0700 Subject: [PATCH] Updated Flatpak - Updated Flatpak manifest to compile for both amd64 and aarch64. - Moved delete menu item to the bottom of the list. --- com.system76.CosmicTasks.yml | 9 +++++++++ src/app/menu.rs | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/com.system76.CosmicTasks.yml b/com.system76.CosmicTasks.yml index 1d8e867..56d3133 100644 --- a/com.system76.CosmicTasks.yml +++ b/com.system76.CosmicTasks.yml @@ -27,6 +27,15 @@ modules: dest-filename: just.tar.gz url: https://github.com/casey/just/releases/download/1.25.2/just-1.25.2-x86_64-unknown-linux-musl.tar.gz sha256: ad56bf1a804243b51ef2c2eec4b3a8177f970ccc414cbbee219c2e5c06f7bcc9 + only_arches: + - amd64 + - type: archive + strip-components: 0 + dest-filename: just.tar.gz + url: https://github.com/casey/just/releases/download/1.25.2/just-1.25.2-aarch64-unknown-linux-musl.tar.gz + sha256: 049d624255d150f18b0f3a1257a163366b0dc22e16526214773903125145e515 + only_arches: + - aarch64 - name: cosmic-tasks buildsystem: simple build-commands: diff --git a/src/app/menu.rs b/src/app/menu.rs index eacae11..612604d 100644 --- a/src/app/menu.rs +++ b/src/app/menu.rs @@ -35,9 +35,9 @@ pub fn menu_bar<'a>(key_binds: &HashMap) -> Element<'a, Message vec![ Item::Button(fl!("rename"), Action::RenameList), Item::Divider, - Item::Button(fl!("delete"), Action::DeleteList), - Item::Divider, Item::Button(fl!("icon"), Action::Icon), + Item::Divider, + Item::Button(fl!("delete"), Action::DeleteList), ], ), ),