namespace ShoopNCook; using Microsoft.Maui.Controls; using Models; using ShoopNCook.Pages; public partial class MainAppShell : Shell { public MainAppShell(Account account, UserNotifier notifier) { InitializeComponent(); HomeTab.ContentTemplate = new DataTemplate(() => new HomePage(account, notifier)); FavoritesTab.ContentTemplate = new DataTemplate(() => new FavoritesPage(account, notifier)); MyListTab.ContentTemplate = new DataTemplate(() => new MyListPage(account, notifier)); MoreTab.ContentTemplate = new DataTemplate(() => new MorePage(account, notifier)); } }