From aa04c5c406c931ee58d88f7134a4bf0e26816c1d Mon Sep 17 00:00:00 2001 From: Martin Zikmund Date: Thu, 5 Dec 2024 11:27:26 +0100 Subject: [PATCH] chore: Address comment Co-authored-by: Youssef Victor --- .../Presentation/SampleChooserViewMode.Properties.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/SamplesApp/SamplesApp.UnitTests.Shared/Controls/UITests/Presentation/SampleChooserViewMode.Properties.cs b/src/SamplesApp/SamplesApp.UnitTests.Shared/Controls/UITests/Presentation/SampleChooserViewMode.Properties.cs index 98689c22f676..ae8ff1259625 100644 --- a/src/SamplesApp/SamplesApp.UnitTests.Shared/Controls/UITests/Presentation/SampleChooserViewMode.Properties.cs +++ b/src/SamplesApp/SamplesApp.UnitTests.Shared/Controls/UITests/Presentation/SampleChooserViewMode.Properties.cs @@ -452,11 +452,17 @@ public bool UseRtl #if HAS_UNO public bool SimulateTouch { +#if DEBUG get => WinRTFeatureConfiguration.DebugOptions.SimulateTouch; +#else + get => false; +#endif set { +#if DEBUG WinRTFeatureConfiguration.DebugOptions.SimulateTouch = value; RaisePropertyChanged(); +#endif } }