mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Remap buttons mutual exclusivity
This commit is contained in:
parent
4aa481ecb1
commit
9d4c99e713
3 changed files with 73 additions and 8 deletions
|
|
@ -670,7 +670,7 @@ private struct MinimalisticReminderDetailsView: View {
|
|||
Task { await musicManager.toggleShuffle() }
|
||||
}
|
||||
case .repeatMode:
|
||||
controlButton(icon: repeatIcon, isActive: musicManager.repeatMode != .off) {
|
||||
controlButton(icon: repeatIcon, isActive: musicManager.repeatMode != .off, symbolEffect: .replace) {
|
||||
Task { await musicManager.toggleRepeat() }
|
||||
}
|
||||
case .mediaOutput:
|
||||
|
|
@ -706,7 +706,8 @@ private struct MinimalisticReminderDetailsView: View {
|
|||
fontWeight: .medium,
|
||||
frameSize: CGSize(width: 40, height: 40),
|
||||
cornerRadius: 16,
|
||||
foregroundColor: .white.opacity(0.85)
|
||||
foregroundColor: .white.opacity(0.85),
|
||||
symbolEffectStyle: .replace
|
||||
) {
|
||||
isPopoverPresented.toggle()
|
||||
if isPopoverPresented {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue