Fix new offenses

This commit is contained in:
Arkadiusz Fal
2021-11-08 17:29:35 +01:00
parent 2701c1ccb5
commit db9f7e5f5d
29 changed files with 305 additions and 305 deletions

View File

@@ -50,7 +50,7 @@ struct VideoDetails: View {
toggleFullScreenDetailsButton
}
#if os(macOS)
.padding(.top, 10)
.padding(.top, 10)
#endif
if !video.isNil {
@@ -188,7 +188,7 @@ struct VideoDetails: View {
confirmationShown = true
}
#if os(iOS)
.tint(.gray)
.tint(.gray)
#endif
.confirmationDialog("Are you you want to unsubscribe from \(video!.channel.name)?", isPresented: $confirmationShown) {
Button("Unsubscribe") {
@@ -309,9 +309,9 @@ struct VideoDetails: View {
}
}
#if os(iOS)
.sheet(isPresented: $presentingShareSheet) {
ShareSheet(activityItems: [shareURL])
}
.sheet(isPresented: $presentingShareSheet) {
ShareSheet(activityItems: [shareURL])
}
#endif
}