From 86ba4206b8dc6ff55c00c177d7ba317668d7efce Mon Sep 17 00:00:00 2001 From: spinline Date: Tue, 3 Feb 2026 22:48:13 +0300 Subject: [PATCH] chore: remove unused Theme enum --- backend/src/main.rs | 1 - shared/src/lib.rs | 7 ------- 2 files changed, 8 deletions(-) diff --git a/backend/src/main.rs b/backend/src/main.rs index 043c9ef..91cc9a1 100644 --- a/backend/src/main.rs +++ b/backend/src/main.rs @@ -67,7 +67,6 @@ struct Args { shared::TorrentActionRequest, shared::Torrent, shared::TorrentStatus, - shared::Theme, shared::TorrentFile, shared::TorrentPeer, shared::TorrentTracker, diff --git a/shared/src/lib.rs b/shared/src/lib.rs index d9a8bbf..70d2ae2 100644 --- a/shared/src/lib.rs +++ b/shared/src/lib.rs @@ -60,13 +60,6 @@ pub struct TorrentActionRequest { pub action: String, } -#[derive(Debug, Serialize, Deserialize, Clone, PartialEq, Eq, ToSchema)] -pub enum Theme { - Midnight, - Light, - Amoled, -} - // --- NEW STRUCTS FOR ADVANCED FEATURES --- #[derive(Debug, Serialize, Deserialize, Clone, ToSchema)]