make list view default screen

rename homviewtwo tab to months
remove top view on home view two
This commit is contained in:
Trey t
2022-02-27 15:16:05 -06:00
parent ec55a2677e
commit 0f69d91182
3 changed files with 6 additions and 11 deletions

View File

@@ -47,12 +47,6 @@ struct HomeViewTwo: View {
} else {
ScrollView {
ZStack {
topView
.frame(maxWidth: .infinity, alignment: .leading)
.frame(height: 250)
.background(
.blue
)
settingsButtonView
}
LazyVStack(spacing: 5, pinnedViews: [.sectionHeaders]) {

View File

@@ -18,16 +18,16 @@ struct MainTabView: View {
var body: some View {
TabView {
HomeViewTwo()
.tabItem {
Label(String(localized: "content_view_tab_main"), systemImage: "calendar")
}
HomeView()
.tabItem {
Label(String(localized: "content_view_tab_main"), systemImage: "list.dash")
}
HomeViewTwo()
.tabItem {
Label(String(localized: "content_view_tab_month"), systemImage: "calendar")
}
FilterView()
.tabItem {
Label(String(localized: "content_view_tab_filter"), systemImage: "line.3.horizontal.decrease.circle")

View File

@@ -31,6 +31,7 @@
"add_mood_header_view_title_yesterday" = "How was yesterday?";
"content_view_tab_main" = "Main";
"content_view_tab_month" = "Months";
"content_view_tab_filter" = "Filter";
"content_view_tab_share" = "Share";
"content_view_tab_customize" = "Customize";