Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Uno.Gallery/Controls/SamplePageLayout.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ public partial class SamplePageLayout : ContentControl
{
new LayoutModeMapping(Design.Material, () => !IsDesignAgnostic, _materialRadioButton, _stickyMaterialRadioButton, VisualStateMaterial, MaterialTemplate),
new LayoutModeMapping(Design.Fluent, () => !IsDesignAgnostic, _fluentRadioButton, _stickyFluentRadioButton, VisualStateFluent, FluentTemplate),
new LayoutModeMapping(Design.Cupertino, () => !IsDesignAgnostic, _cupertinoRadioButton, _stickyCupertinoRadioButton, VisualStateCupertino, CupertinoTemplate),
// Cupertino is disabled as it is not up to date.
// new LayoutModeMapping(Design.Cupertino, () => !IsDesignAgnostic, _cupertinoRadioButton, _stickyCupertinoRadioButton, VisualStateCupertino, CupertinoTemplate),
new LayoutModeMapping(Design.Agnostic, () => IsDesignAgnostic, null, null, VisualStateAgnostic, DesignAgnosticTemplate),
#if __IOS__ || __MACOS__ || __ANDROID__
#if __IOS__ || __MACOS__ || __ANDROID__ && !HAS_UNO_SKIA
// native tab is only shown when applicable
new LayoutModeMapping(Design.Native, () => !IsDesignAgnostic, _nativeRadioButton, _stickyNativeRadioButton, VisualStateNative, NativeTemplate),
#else
Expand Down
7 changes: 4 additions & 3 deletions Uno.Gallery/Views/GeneralPages/CupertinoPalettePage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@

namespace Uno.Gallery.Views.GeneralPages
{
// Cupertino theme is disabled as it is not actively supported.
/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
/// </summary>
[SamplePage(SampleCategory.Theming, "Cupertino Palette",
SortOrder = 3,
Description = "Uno.Cupertino comes with a built-in set of named Color and Brush resources. They are used in most control styles provided by Uno.Cupertino, meaning that you can easily style most controls just by changing a few colors.")]
// [SamplePage(SampleCategory.Theming, "Cupertino Palette",
// SortOrder = 3,
// Description = "Uno.Cupertino comes with a built-in set of named Color and Brush resources. They are used in most control styles provided by Uno.Cupertino, meaning that you can easily style most controls just by changing a few colors.")]
public sealed partial class CupertinoPalettePage : Page
{
public CupertinoPalettePage()
Expand Down
Loading