From 63918bfebc30481a0719c8373f94ed70f3636f83 Mon Sep 17 00:00:00 2001 From: jack Date: Sat, 13 Sep 2025 23:09:17 +0200 Subject: [PATCH] Fix compile error: attach .padding(.top) inside #if DEBUG so modifier applies to view expression --- bitchat/Views/AppInfoView.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bitchat/Views/AppInfoView.swift b/bitchat/Views/AppInfoView.swift index d325e85f..79fcd482 100644 --- a/bitchat/Views/AppInfoView.swift +++ b/bitchat/Views/AppInfoView.swift @@ -199,9 +199,8 @@ struct AppInfoView: View { #if DEBUG // Debug section (visible only in Debug builds) DebugLogsSection(textColor: textColor, secondaryTextColor: secondaryTextColor) + .padding(.top) #endif - - .padding(.top) } .padding() }