From 89f48337cc2d46427b229e72bd050349183b9057 Mon Sep 17 00:00:00 2001
From: Hariz Shirazi <87151697+BomberFish@users.noreply.github.com>
Date: Thu, 25 May 2023 05:13:59 -0400
Subject: [PATCH] Improvements to user footer (#152)

* use `gear` instead of `gearshape`

* limit custom status in footer to one line

* patch: undo modifications to signing

---------

Co-authored-by: CryptoAlgo <64193267+cryptoAlgorithm@users.noreply.github.com>
---
 Swiftcord/Views/User/CurrentUserFooter.swift | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Swiftcord/Views/User/CurrentUserFooter.swift b/Swiftcord/Views/User/CurrentUserFooter.swift
index 091a6b36..0d5ae04b 100644
--- a/Swiftcord/Views/User/CurrentUserFooter.swift
+++ b/Swiftcord/Views/User/CurrentUserFooter.swift
@@ -102,6 +102,8 @@ struct CurrentUserFooter: View {
 						Group {
 							if let customStatus = customStatus {
 								Text(customStatus.state ?? "")
+									.lineLimit(1)
+									.truncationMode(.tail)
 							} else {
 								Text("#" + user.discriminator)
 							}
@@ -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)
 			})