mirror of
				https://github.com/yattee/yattee.git
				synced 2025-10-31 04:31:54 +00:00 
			
		
		
		
	Fix video details buttons alignment
This commit is contained in:
		| @@ -365,16 +365,18 @@ struct VideoDetails: View { | ||||
|  | ||||
|                     Spacer() | ||||
|  | ||||
|                     if accounts.app.supportsUserPlaylists { | ||||
|                         Button { | ||||
|                             presentingAddToPlaylist = true | ||||
|                         } label: { | ||||
|                             Label("Add to Playlist", systemImage: "text.badge.plus") | ||||
|                                 .labelStyle(.iconOnly) | ||||
|                                 .help("Add to Playlist...") | ||||
|                         } | ||||
|                         .buttonStyle(.plain) | ||||
|                     Button { | ||||
|                         presentingAddToPlaylist = true | ||||
|                     } label: { | ||||
|                         Label("Add to Playlist", systemImage: "text.badge.plus") | ||||
|                             .labelStyle(.iconOnly) | ||||
|                             .help("Add to Playlist...") | ||||
|                     } | ||||
|                     .buttonStyle(.plain) | ||||
|                     .opacity(accounts.app.supportsUserPlaylists ? 1 : 0) | ||||
|                     #if os(macOS) | ||||
|                         .frame(minWidth: 35, alignment: .trailing) | ||||
|                     #endif | ||||
|                 } | ||||
|                 .frame(maxHeight: 35) | ||||
|                 .foregroundColor(.secondary) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Arkadiusz Fal
					Arkadiusz Fal