swiftformat

This commit is contained in:
Mauro Romito
2026-06-08 10:46:34 +02:00
committed by Mauro
parent 34ada2d933
commit 6ec1f0eb10
5 changed files with 36 additions and 42 deletions
@@ -187,36 +187,34 @@ struct MediaEventsTimelineScreen: View {
} bottomContent: { EmptyView() }
}
@ViewBuilder
private var emptyMedia: some View {
Group {
BigIcon(icon: \.image)
Text(L10n.screenMediaBrowserMediaEmptyStateTitle)
.foregroundColor(.compound.textPrimary)
.font(.compound.headingMDBold)
.multilineTextAlignment(.center)
Text(L10n.screenMediaBrowserMediaEmptyStateSubtitle)
.foregroundColor(.compound.textSecondary)
.font(.compound.bodyMD)
.multilineTextAlignment(.center)
}
BigIcon(icon: \.image)
Text(L10n.screenMediaBrowserMediaEmptyStateTitle)
.foregroundColor(.compound.textPrimary)
.font(.compound.headingMDBold)
.multilineTextAlignment(.center)
Text(L10n.screenMediaBrowserMediaEmptyStateSubtitle)
.foregroundColor(.compound.textSecondary)
.font(.compound.bodyMD)
.multilineTextAlignment(.center)
}
@ViewBuilder
private var emptyFiles: some View {
Group {
BigIcon(icon: \.document)
Text(L10n.screenMediaBrowserFilesEmptyStateTitle)
.foregroundColor(.compound.textPrimary)
.font(.compound.headingMDBold)
.multilineTextAlignment(.center)
Text(L10n.screenMediaBrowserFilesEmptyStateSubtitle)
.foregroundColor(.compound.textSecondary)
.font(.compound.bodyMD)
.multilineTextAlignment(.center)
}
BigIcon(icon: \.document)
Text(L10n.screenMediaBrowserFilesEmptyStateTitle)
.foregroundColor(.compound.textPrimary)
.font(.compound.headingMDBold)
.multilineTextAlignment(.center)
Text(L10n.screenMediaBrowserFilesEmptyStateSubtitle)
.foregroundColor(.compound.textSecondary)
.font(.compound.bodyMD)
.multilineTextAlignment(.center)
}
@ToolbarContentBuilder