if(executivPersonel == true){ SideMenuButton(icon: "house.fill", title: "Ana Sayfa", destination: HomeScreen()) SideMenuButton(icon: "archivebox.fill", title: "Ürünler", destination: ProductScreen()) SideMenuButton(icon: "cart.fill", title: "Tüm Siparişler", destination: AllOrdersScreen()) SideMenuButton(icon: "horn.fill", title: "Duyurular", destination: AnnouncementsScreen()) SideMenuButton(icon: "ellipsis.message.fill", title: "Mesajlar", destination: MessagesScreen()) SideMenuButton(icon: "gearshape.fill", title: "Ayarlar", destination: SettingsScreen()) } else{ SideMenuButton(icon: "house.fill", title: "Ana Sayfa", destination: HomeScreen()) SideMenuButton(icon: "archivebox.fill", title: "Ürünler", destination: ProductScreen()) SideMenuButton(icon: "cart.fill", title: "Tüm Siparişler", destination: AllOrdersScreen()) SideMenuButton(icon: "person.fill", title: "Personeller", destination: PersonelScreen()) SideMenuButton(icon: "banknote", title: "Finansal Hareketler", destination: HomeScreen()) SideMenuButton(icon: "horn.fill", title: "Duyurular", destination: AnnouncementsScreen()) SideMenuButton(icon: "ellipsis.message.fill", title: "Mesajlar", destination: MessagesScreen()) SideMenuButton(icon: "gearshape.fill", title: "Ayarlar", destination: SettingsScreen()) }