comparison LazyBear/Views/Company/Helpers/NewsHelper.swift @ 457:c6913f0ce46e

Minor UI Updates
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Mon, 28 Jun 2021 14:03:50 +0200
parents 8621ba6fd457
children
comparison
equal deleted inserted replaced
456:d576b2b59014 457:c6913f0ce46e
21 21
22 NavigationLink(destination: NewsList(latestNews: latestNews) 22 NavigationLink(destination: NewsList(latestNews: latestNews)
23 .navigationTitle("Latest news") 23 .navigationTitle("Latest news")
24 ) { 24 ) {
25 Text("See all") 25 Text("See all")
26 .accentColor(Color(.systemBlue)) 26 .accentColor(Color.blue)
27 } 27 }
28 } 28 }
29 .padding(.bottom) 29 .padding(.bottom)
30 30
31 let latestNewsPrefixed = latestNews.prefix(4) 31 let latestNewsPrefixed = latestNews.prefix(4)