Skip to content

Commit

Permalink
ios: apply theming to servers summary view (simplex-chat#4404)
Browse files Browse the repository at this point in the history
  • Loading branch information
spaced4ndy authored Jul 4, 2024
1 parent 1e6dc80 commit 44c0861
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apps/ios/Shared/Views/ChatList/ServersSummaryView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ struct ServersSummaryView: View {
viewBody()
.navigationTitle("Servers info")
.navigationBarTitleDisplayMode(.large)
.modifier(ThemedBackground(grouped: true))
.toolbar {
ToolbarItem(placement: .navigationBarTrailing) {
shareButton()
Expand Down Expand Up @@ -264,6 +265,7 @@ struct ServersSummaryView: View {
)
.navigationBarTitle("SMP server")
.navigationBarTitleDisplayMode(.large)
.modifier(ThemedBackground(grouped: true))
} label: {
HStack {
Text(serverAddress(srvSumm.smpServer))
Expand Down Expand Up @@ -332,6 +334,7 @@ struct ServersSummaryView: View {
)
.navigationBarTitle("XFTP server")
.navigationBarTitleDisplayMode(.large)
.modifier(ThemedBackground(grouped: true))
} label: {
HStack {
Text(serverAddress(srvSumm.xftpServer))
Expand Down Expand Up @@ -470,6 +473,7 @@ struct SMPServerSummaryView: View {
NavigationLink {
ProtocolServersView(serverProtocol: .smp)
.navigationTitle("Your SMP servers")
.modifier(ThemedBackground(grouped: true))
} label: {
Text("Open server settings")
}
Expand Down Expand Up @@ -563,6 +567,7 @@ struct SMPStatsView: View {
DetailedSMPStatsView(stats: stats, statsStartedAt: statsStartedAt)
.navigationTitle("Detailed statistics")
.navigationBarTitleDisplayMode(.large)
.modifier(ThemedBackground(grouped: true))
} label: {
Text("Details")
}
Expand Down Expand Up @@ -662,6 +667,7 @@ struct XFTPServerSummaryView: View {
NavigationLink {
ProtocolServersView(serverProtocol: .xftp)
.navigationTitle("Your XFTP servers")
.modifier(ThemedBackground(grouped: true))
} label: {
Text("Open server settings")
}
Expand Down Expand Up @@ -692,6 +698,7 @@ struct XFTPStatsView: View {
DetailedXFTPStatsView(stats: stats, statsStartedAt: statsStartedAt)
.navigationTitle("Detailed statistics")
.navigationBarTitleDisplayMode(.large)
.modifier(ThemedBackground(grouped: true))
} label: {
Text("Details")
}
Expand Down

0 comments on commit 44c0861

Please sign in to comment.