Improve new images indicator visibility

This commit is contained in:
Marcin Czachurski 2023-04-22 13:18:38 +02:00
parent a4e8e27179
commit cbd05104f1
1 changed files with 7 additions and 5 deletions

View File

@ -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())