|
|
@@ -96,7 +96,7 @@ struct SidebarView: View {
|
|
|
}
|
|
|
|
|
|
private var upgradeCard: some View {
|
|
|
- VStack(alignment: isPremium ? .center : .leading, spacing: 8) {
|
|
|
+ VStack(alignment: .center, spacing: 8) {
|
|
|
VStack(spacing: 4) {
|
|
|
Image(systemName: "crown.fill")
|
|
|
.font(.system(size: 14))
|
|
|
@@ -105,7 +105,7 @@ struct SidebarView: View {
|
|
|
.font(.system(size: 12, weight: .semibold))
|
|
|
.foregroundStyle(AppTheme.textPrimary)
|
|
|
}
|
|
|
- .frame(maxWidth: .infinity, alignment: isPremium ? .center : .leading)
|
|
|
+ .frame(maxWidth: .infinity, alignment: .center)
|
|
|
|
|
|
Text(
|
|
|
isPremium
|
|
|
@@ -114,8 +114,8 @@ struct SidebarView: View {
|
|
|
)
|
|
|
.font(.system(size: 10))
|
|
|
.foregroundStyle(AppTheme.textSecondary)
|
|
|
- .multilineTextAlignment(isPremium ? .center : .leading)
|
|
|
- .frame(maxWidth: .infinity, alignment: isPremium ? .center : .leading)
|
|
|
+ .multilineTextAlignment(.center)
|
|
|
+ .frame(maxWidth: .infinity, alignment: .center)
|
|
|
.fixedSize(horizontal: false, vertical: true)
|
|
|
.lineSpacing(2)
|
|
|
|