From 1663b7d2a1c1a1dce33a292d0cf2f5644994aba1 Mon Sep 17 00:00:00 2001 From: Nickiel12 <35903114+Nickiel12@users.noreply.github.com> Date: Mon, 20 Dec 2021 16:25:08 -0800 Subject: [PATCH] fixed incorrect return value --- src/modules/stream_states/enums.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/stream_states/enums.rs b/src/modules/stream_states/enums.rs index 1c83641..d7ceeb8 100644 --- a/src/modules/stream_states/enums.rs +++ b/src/modules/stream_states/enums.rs @@ -17,11 +17,11 @@ pub enum SubScenes { impl SubScenes { pub fn to_string(&self) -> String { match self { - SubScenes::CameraDefault => {String::from_str("Camera_Default").unwrap()}, + SubScenes::CameraDefault => {String::from_str("Camera_None").unwrap()}, SubScenes::CameraWithUpperRight => {String::from_str("Camera_Top_Right").unwrap()}, SubScenes::CameraWithLargeUpperRight => {String::from_str("Camera_Bottom_Left").unwrap()}, SubScenes::CameraWithLowerRight => {String::from_str("Camera_Bottom_Right").unwrap()}, - SubScenes::ScreenDefault => {String::from_str("Screen_Default").unwrap()}, + SubScenes::ScreenDefault => {String::from_str("Screen_None").unwrap()}, SubScenes::ScreenWithUpperRight => {String::from_str("Screen_Top_Right").unwrap()}, SubScenes::ScreenWithLowerRight => {String::from_str("Screen_Bottom_Right").unwrap()}, }