Skip to content

Commit

Permalink
Use appIconForAbout without NSImage wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
leits committed Jun 30, 2023
1 parent b5feb91 commit afc78dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MeetingBar/Views/Preferences/GeneralTab.swift
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ struct PatronageAppSection: View {
Spacer()
HStack {
VStack(alignment: .center) {
Image(nsImage: NSImage(named: "appIconForAbout")!).resizable().frame(width: 120.0, height: 120.0)
Image("appIconForAbout").resizable().frame(width: 120.0, height: 120.0)
Text("MeetingBar").font(.system(size: 20)).bold()
Text(Defaults[.appVersion]).foregroundColor(.gray)
}.lineLimit(1).minimumScaleFactor(0.5).frame(minWidth: 0, maxWidth: .infinity)
Expand Down

0 comments on commit afc78dd

Please sign in to comment.