From 7b0a15575448dfa9cb84fb7278f339ef49ab68bc Mon Sep 17 00:00:00 2001 From: Lucas Desouza Date: Sat, 15 Aug 2020 15:03:00 -0500 Subject: [PATCH] fix: build errors with the tab view (#22) --- .../QuickComponents/NavigationComponents/TabRootView.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/QuickComponents/NavigationComponents/TabRootView.swift b/Sources/QuickComponents/NavigationComponents/TabRootView.swift index f4c6a2c..3da6bc4 100644 --- a/Sources/QuickComponents/NavigationComponents/TabRootView.swift +++ b/Sources/QuickComponents/NavigationComponents/TabRootView.swift @@ -37,11 +37,11 @@ struct TabRootView: View { ZStack { self.theme.backgroundColor.edgesIgnoringSafeArea(.all) VStack { - tabs[tag].view.frame(width: geometry.size.width, height: geometry.size.height-75, alignment: /*@START_MENU_TOKEN@*/.center/*@END_MENU_TOKEN@*/) + self.tabs[self.tag].view.frame(width: geometry.size.width, height: geometry.size.height-75, alignment: /*@START_MENU_TOKEN@*/.center/*@END_MENU_TOKEN@*/) ZStack { HStack { - ForEach(0..