Tighten inline player layout
This commit is contained in:
1 parent
f4721a5a21
commit
0f26b58933
3 files changed
+3
-5
No files matched your search
@@ -62,6 +62,7 @@ struct MiniPlayerView: View {
|
||||
.truncationMode(.tail)
|
||||
}
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
.layoutPriority(-1)
|
||||
|
||||
Button {
|
||||
displayedIsPlaying.toggle()
|
||||
@@ -84,6 +85,7 @@ struct MiniPlayerView: View {
|
||||
.buttonStyle(.plain)
|
||||
.accessibilityLabel("Next track")
|
||||
}
|
||||
.frame(maxWidth: .infinity)
|
||||
.frame(height: 32)
|
||||
.padding(.leading, usesCompactLayout ? 10 : 16)
|
||||
.padding(.trailing, usesCompactLayout ? 9 : 14)
|
||||
|
||||
Reference in new issue
Block a user