mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Minor style fixes
This commit is contained in:
parent
99769380fc
commit
a14b0b12fa
@ -19,12 +19,21 @@ extension View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private func verticalEdgeBorder(_ edge: Alignment, height: Double, color: Color) -> some View {
|
private func verticalEdgeBorder(_ edge: Alignment, height: Double, color: Color) -> some View {
|
||||||
overlay(Rectangle().frame(width: nil, height: height, alignment: .top)
|
overlay(
|
||||||
.foregroundColor(color).ignoresSafeArea(.all, edges: .horizontal), alignment: edge)
|
Rectangle()
|
||||||
|
.frame(width: nil, height: height, alignment: .top)
|
||||||
|
.foregroundColor(color)
|
||||||
|
.ignoresSafeArea(.all, edges: .horizontal),
|
||||||
|
alignment: edge
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
private func horizontalEdgeBorder(_ edge: Alignment, width: Double, color: Color) -> some View {
|
private func horizontalEdgeBorder(_ edge: Alignment, width: Double, color: Color) -> some View {
|
||||||
overlay(Rectangle().frame(width: width, height: nil, alignment: .leading)
|
overlay(
|
||||||
.foregroundColor(color), alignment: edge)
|
Rectangle()
|
||||||
|
.frame(width: width, height: nil, alignment: .leading)
|
||||||
|
.foregroundColor(color),
|
||||||
|
alignment: edge
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -130,7 +130,7 @@ final class AVPlayerBackend: PlayerBackend {
|
|||||||
preservingTime: Bool,
|
preservingTime: Bool,
|
||||||
upgrading _: Bool
|
upgrading _: Bool
|
||||||
) {
|
) {
|
||||||
if var url = stream.singleAssetURL {
|
if let url = stream.singleAssetURL {
|
||||||
model.logger.info("playing stream with one asset\(stream.kind == .hls ? " (HLS)" : ""): \(url)")
|
model.logger.info("playing stream with one asset\(stream.kind == .hls ? " (HLS)" : ""): \(url)")
|
||||||
|
|
||||||
if video.isLocal, video.localStreamIsFile {
|
if video.isLocal, video.localStreamIsFile {
|
||||||
|
@ -2620,6 +2620,7 @@
|
|||||||
37D4B0C82671614900C925CA /* Yattee (iOS) */,
|
37D4B0C82671614900C925CA /* Yattee (iOS) */,
|
||||||
37D4B0CE2671614900C925CA /* Yattee (macOS) */,
|
37D4B0CE2671614900C925CA /* Yattee (macOS) */,
|
||||||
37D4B157267164AE00C925CA /* Yattee (tvOS) */,
|
37D4B157267164AE00C925CA /* Yattee (tvOS) */,
|
||||||
|
37095E7E291DC85400301883 /* Open in Yattee */,
|
||||||
37A3B19C27258492000FB5EE /* Periphery (iOS) */,
|
37A3B19C27258492000FB5EE /* Periphery (iOS) */,
|
||||||
37FD43E62704A2240073EE42 /* Periphery (macOS) */,
|
37FD43E62704A2240073EE42 /* Periphery (macOS) */,
|
||||||
37FD43EB2704A7710073EE42 /* Periphery (tvOS) */,
|
37FD43EB2704A7710073EE42 /* Periphery (tvOS) */,
|
||||||
@ -2627,7 +2628,6 @@
|
|||||||
37D4B0DD2671614900C925CA /* Tests (macOS) */,
|
37D4B0DD2671614900C925CA /* Tests (macOS) */,
|
||||||
37D4B170267164B000C925CA /* Tests (tvOS) */,
|
37D4B170267164B000C925CA /* Tests (tvOS) */,
|
||||||
3712643A2865FF4500D77974 /* Shared Tests */,
|
3712643A2865FF4500D77974 /* Shared Tests */,
|
||||||
37095E7E291DC85400301883 /* Open in Yattee */,
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
/* End PBXProject section */
|
/* End PBXProject section */
|
||||||
|
Loading…
Reference in New Issue
Block a user