diff --git a/src/spotify.rs b/src/spotify.rs index 157e257..825d327 100644 --- a/src/spotify.rs +++ b/src/spotify.rs @@ -1,5 +1,6 @@ use crate::apps::BeoApp; +#[derive(Debug)] enum SpotifyMenuState { Root, Genres, @@ -11,10 +12,15 @@ enum SpotifyMenuState { #[derive(Debug, Default)] pub struct Spotify { i: i32, + state: SpotifyMenuState, } impl Spotify { pub fn new() -> Self { + Spotify { + i: 0, + state: SpotifyMenuState::Root, + } Self::default() } }