Skip to content

Commit

Permalink
Improvements to user footer (#152)
Browse files Browse the repository at this point in the history
* use `gear` instead of `gearshape`

* limit custom status in footer to one line

* patch: undo modifications to signing

---------

Co-authored-by: CryptoAlgo <[email protected]>
  • Loading branch information
BomberFish and cryptoAlgorithm authored May 25, 2023
1 parent d7cb20f commit 89f4833
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Swiftcord/Views/User/CurrentUserFooter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ struct CurrentUserFooter: View {
Group {
if let customStatus = customStatus {
Text(customStatus.state ?? "")
.lineLimit(1)
.truncationMode(.tail)
} else {
Text("#" + user.discriminator)
}
Expand Down Expand Up @@ -185,7 +187,7 @@ struct CurrentUserFooter: View {
NSApp.sendAction(Selector(("showPreferencesWindow:")), to: nil, from: nil)
}
}, label: {
Image(systemName: "gearshape.fill")
Image(systemName: "gear")
.font(.system(size: 18))
.opacity(0.75)
})
Expand Down

0 comments on commit 89f4833

Please sign in to comment.