Change icons and menu.

This commit is contained in:
Marcin Czachursk 2023-02-21 08:41:37 +01:00
parent 0cd2ed9f54
commit 6d7934c35a
2 changed files with 15 additions and 13 deletions

View File

@ -1031,7 +1031,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 18;
CURRENT_PROJECT_VERSION = 20;
DEVELOPMENT_ASSET_PATHS = "\"Vernissage/Preview Content\"";
DEVELOPMENT_TEAM = B2U9FEKYP8;
ENABLE_PREVIEWS = YES;
@ -1068,7 +1068,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 18;
CURRENT_PROJECT_VERSION = 20;
DEVELOPMENT_ASSET_PATHS = "\"Vernissage/Preview Content\"";
DEVELOPMENT_TEAM = B2U9FEKYP8;
ENABLE_PREVIEWS = YES;

View File

@ -97,16 +97,6 @@ struct MainView: View {
Image(systemName: "house")
}
}
Button {
HapticService.shared.fireHaptic(of: .tabSelection)
viewMode = .trending
} label: {
HStack {
Text(self.getViewTitle(viewMode: .trending))
Image(systemName: "chart.line.uptrend.xyaxis")
}
}
Button {
HapticService.shared.fireHaptic(of: .tabSelection)
@ -114,7 +104,7 @@ struct MainView: View {
} label: {
HStack {
Text(self.getViewTitle(viewMode: .local))
Image(systemName: "text.redaction")
Image(systemName: "building")
}
}
@ -128,6 +118,18 @@ struct MainView: View {
}
}
Divider()
Button {
HapticService.shared.fireHaptic(of: .tabSelection)
viewMode = .trending
} label: {
HStack {
Text(self.getViewTitle(viewMode: .trending))
Image(systemName: "chart.line.uptrend.xyaxis")
}
}
Divider()
Button {