Skip to content

Commit 35d9078

Browse files
Remove ShellRenderer.macios.cs
1 parent 30b2564 commit 35d9078

File tree

3 files changed

+0
-597
lines changed

3 files changed

+0
-597
lines changed

sample/AppShell.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,5 @@ partial class AppShell : Shell
55
public AppShell(NewsPage newsPage)
66
{
77
Items.Add(newsPage);
8-
9-
#if IOS || MACCATALYST
10-
ShellAttachedProperties.SetPrefersLargeTitles(this, true);
11-
#endif
128
}
139
}

sample/MauiProgram.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@ public static MauiApp CreateMauiApp()
1616
.UseMauiCommunityToolkit()
1717
.UseMauiCommunityToolkitMarkup();
1818

19-
builder.ConfigureMauiHandlers(static handlers =>
20-
{
21-
#if IOS || MACCATALYST
22-
handlers.AddHandler<Shell, ShellWithLargeTitles>();
23-
#endif
24-
});
25-
2619
// App
2720
builder.Services.AddSingleton<App>();
2821
builder.Services.AddSingleton<AppShell>();

0 commit comments

Comments
 (0)