File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
src/TestUtils/src/UITest.Appium Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -1643,11 +1643,6 @@ public static TestDevice GetTestDevice(this IApp app)
16431643 /// <param name="app">Represents the main gateway to interact with an app.</param>
16441644 public static void SetLightTheme ( this IApp app )
16451645 {
1646- if ( app is AppiumCatalystApp )
1647- {
1648- throw new InvalidOperationException ( $ "SetLightTheme is not supported") ;
1649- }
1650-
16511646 app . CommandExecutor . Execute ( "setLightTheme" , ImmutableDictionary < string , object > . Empty ) ;
16521647 }
16531648
@@ -1657,11 +1652,6 @@ public static void SetLightTheme(this IApp app)
16571652 /// <param name="app">Represents the main gateway to interact with an app.</param>
16581653 public static void SetDarkTheme ( this IApp app )
16591654 {
1660- if ( app is AppiumCatalystApp )
1661- {
1662- throw new InvalidOperationException ( $ "SetDarkTheme is not supported") ;
1663- }
1664-
16651655 app . CommandExecutor . Execute ( "setDarkTheme" , ImmutableDictionary < string , object > . Empty ) ;
16661656 }
16671657
You can’t perform that action at this time.
0 commit comments