Improve new images indicator visibility
This commit is contained in:
parent
a4e8e27179
commit
cbd05104f1
|
@ -83,8 +83,8 @@ struct HomeFeedView: View {
|
||||||
}
|
}
|
||||||
|
|
||||||
self.newPhotosView()
|
self.newPhotosView()
|
||||||
.offset(y: self.offset)
|
// .offset(y: self.offset)
|
||||||
.opacity(self.opacity)
|
// .opacity(self.opacity)
|
||||||
}
|
}
|
||||||
.refreshable {
|
.refreshable {
|
||||||
HapticService.shared.fireHaptic(of: .dataRefresh(intensity: 0.3))
|
HapticService.shared.fireHaptic(of: .dataRefresh(intensity: 0.3))
|
||||||
|
@ -191,11 +191,13 @@ struct HomeFeedView: View {
|
||||||
|
|
||||||
HStack {
|
HStack {
|
||||||
Image(systemName: "arrow.up")
|
Image(systemName: "arrow.up")
|
||||||
|
.fontWeight(.light)
|
||||||
Text("\(self.applicationState.amountOfNewStatuses)")
|
Text("\(self.applicationState.amountOfNewStatuses)")
|
||||||
|
.fontWeight(.semibold)
|
||||||
}
|
}
|
||||||
.padding(12)
|
.padding(.vertical, 12)
|
||||||
.font(.footnote)
|
.padding(.horizontal, 18)
|
||||||
.fontWeight(.light)
|
.font(.callout)
|
||||||
.foregroundColor(Color.mainTextColor)
|
.foregroundColor(Color.mainTextColor)
|
||||||
.background(.ultraThinMaterial)
|
.background(.ultraThinMaterial)
|
||||||
.clipShape(Capsule())
|
.clipShape(Capsule())
|
||||||
|
|
Loading…
Reference in New Issue