Skip to content

Commit

Permalink
chore: surround FeatureConfiguration calls in if !WINDOWS
Browse files Browse the repository at this point in the history
  • Loading branch information
ramezgerges committed Oct 17, 2023
1 parent 4806387 commit c10e189
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Uno.Gallery/Uno.Gallery.Shared/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,9 @@ public partial class App : Application
public App()
{
Instance = this;
#if !WINDOWS
Uno.UI.FeatureConfiguration.ApiInformation.NotImplementedLogLevel = Foundation.Logging.LogLevel.Debug; // Raise not implemented usages as Debug messages
#endif

InitializeLogging();
ConfigureFeatureFlags();
InitializeLogging();
ConfigureXamlDisplay();

this.InitializeComponent();
Expand Down Expand Up @@ -419,7 +416,10 @@ private void ConfigureXamlDisplay()

private void ConfigureFeatureFlags()
{
#if !WINDOWS
FeatureConfiguration.ApiInformation.NotImplementedLogLevel = Foundation.Logging.LogLevel.Debug; // Raise not implemented usages as Debug messages
FeatureConfiguration.ToolTip.UseToolTips = true;
#endif
}
}
}

0 comments on commit c10e189

Please sign in to comment.