Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
fix: preference dialog render on-demand (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
breezewish authored Apr 30, 2022
1 parent 6a32eff commit 9266980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PaimonMenuBar/SettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ struct ConfigurationSettingsView: View {
} icon: {
Image(systemName: "bolt")
.opacity(isLoading ? 0 : 1)
.overlay(ProgressView().scaleEffect(0.4).opacity(isLoading ? 1 : 0))
.overlay(isLoading ? ProgressView().scaleEffect(0.4) : nil)
}
}
.alert(isPresented: self.$showConfigValidAlert, content: {
Expand Down

1 comment on commit 9266980

@vercel
Copy link

@vercel vercel bot commented on 9266980 Apr 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.