Skip to content

Commit

Permalink
Update iPad screen
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunkomath committed Sep 19, 2020
1 parent f496534 commit 1756e04
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
24 changes: 20 additions & 4 deletions netdata/Modules/ServerList/ServerListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,26 @@ struct ServerListView: View {
})

VStack {
Image(systemName: "tray")
.imageScale(.large)
.frame(width: 48, height: 48)
Text("Select a server")
if serverService.defaultServers.isEmpty && serverService.favouriteServers.isEmpty {
Image(systemName: "tray")
.imageScale(.large)
.frame(width: 48, height: 48)

Button(action: {
self.addServer()
}) {
Text("Add Netdata server")
}
.buttonStyle(BorderedBarButtonStyle())
.sheet(isPresented: $showAddServerSheet, content: {
AddServerForm()
})
} else {
Image(systemName: "tray")
.imageScale(.large)
.frame(width: 48, height: 48)
Text("Select a server")
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion netdata/Modules/Welcome/WelcomeScreen.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ struct WelcomeScreen: View {

VStack(alignment: .leading) {
InformationDetailView(title: "Real-time monitoring on the go",
subTitle: "Monitor everything in real time on your mobile device",
subTitle: "Monitor everything in real time on your device",
imageName: "paperplane")

InformationDetailView(title: "Seamless connection",
Expand Down

0 comments on commit 1756e04

Please sign in to comment.