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()
.offset(y: self.offset)
.opacity(self.opacity)
// .offset(y: self.offset)
// .opacity(self.opacity)
}
.refreshable {
HapticService.shared.fireHaptic(of: .dataRefresh(intensity: 0.3))
@ -191,11 +191,13 @@ struct HomeFeedView: View {
HStack {
Image(systemName: "arrow.up")
Text("\(self.applicationState.amountOfNewStatuses)")
}
.padding(12)
.font(.footnote)
.fontWeight(.light)
Text("\(self.applicationState.amountOfNewStatuses)")
.fontWeight(.semibold)
}
.padding(.vertical, 12)
.padding(.horizontal, 18)
.font(.callout)
.foregroundColor(Color.mainTextColor)
.background(.ultraThinMaterial)
.clipShape(Capsule())