|
@@ -58,9 +58,11 @@ private struct SidebarItemRow<Icon: View>: View {
|
|
|
Text(title)
|
|
Text(title)
|
|
|
.font(.system(size: 12, weight: .semibold))
|
|
.font(.system(size: 12, weight: .semibold))
|
|
|
.foregroundStyle(AppTheme.textPrimary)
|
|
.foregroundStyle(AppTheme.textPrimary)
|
|
|
- Text(subtitle)
|
|
|
|
|
- .font(.system(size: 10))
|
|
|
|
|
- .foregroundStyle(AppTheme.textSecondary)
|
|
|
|
|
|
|
+ if !subtitle.isEmpty {
|
|
|
|
|
+ Text(subtitle)
|
|
|
|
|
+ .font(.system(size: 10))
|
|
|
|
|
+ .foregroundStyle(AppTheme.textSecondary)
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
.padding(.leading, 2)
|
|
.padding(.leading, 2)
|
|
|
|
|
|