From 1c4772d1db3ee381de15ff257c7611af0f64523a Mon Sep 17 00:00:00 2001 From: mihai2mn Date: Sat, 17 Jan 2026 00:05:45 +0100 Subject: [PATCH] chore: update spec file version to 6.4.0 --- distro-packaging/asusctl.spec | 2 +- rog-aura/src/animation.rs | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/distro-packaging/asusctl.spec b/distro-packaging/asusctl.spec index ad8f7944..a37aeeea 100644 --- a/distro-packaging/asusctl.spec +++ b/distro-packaging/asusctl.spec @@ -20,7 +20,7 @@ %global debug_package %{nil} %endif -%define version 6.3.0 +%define version 6.4.0 %define specrelease %{?dist} %define pkg_release 1%{specrelease} diff --git a/rog-aura/src/animation.rs b/rog-aura/src/animation.rs index 078360b3..64671778 100644 --- a/rog-aura/src/animation.rs +++ b/rog-aura/src/animation.rs @@ -11,9 +11,10 @@ use crate::Colour; /// /// Note: This type is serialized as JSON for DBus transport since zvariant /// doesn't support enums with heterogeneous variants. -#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] +#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)] pub enum AnimationMode { /// No animation running + #[default] None, /// Rainbow effect - cycles through HSV hue (0-360°) Rainbow { @@ -49,11 +50,6 @@ pub enum AnimationMode { }, } -impl Default for AnimationMode { - fn default() -> Self { - Self::None - } -} impl AnimationMode { /// Returns true if this is an active animation mode