Fix compile error: attach .padding(.top) inside #if DEBUG so modifier applies to view expression

This commit is contained in:
jack
2025-09-13 23:11:38 +02:00
parent b30a30ecce
commit 63918bfebc
+1 -2
View File
@@ -199,9 +199,8 @@ struct AppInfoView: View {
#if DEBUG #if DEBUG
// Debug section (visible only in Debug builds) // Debug section (visible only in Debug builds)
DebugLogsSection(textColor: textColor, secondaryTextColor: secondaryTextColor) DebugLogsSection(textColor: textColor, secondaryTextColor: secondaryTextColor)
.padding(.top)
#endif #endif
.padding(.top)
} }
.padding() .padding()
} }