From 5f20d791c2df12183612f577ca9e24880f4cfad7 Mon Sep 17 00:00:00 2001 From: Davide Date: Sun, 8 Dec 2024 22:56:29 +0100 Subject: [PATCH] Show module UUID in DEBUG --- .../Sources/AppUIMain/Views/Profile/ModuleViewModifier.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Library/Sources/AppUIMain/Views/Profile/ModuleViewModifier.swift b/Library/Sources/AppUIMain/Views/Profile/ModuleViewModifier.swift index 2db94fda..9e76b56c 100644 --- a/Library/Sources/AppUIMain/Views/Profile/ModuleViewModifier.swift +++ b/Library/Sources/AppUIMain/Views/Profile/ModuleViewModifier.swift @@ -36,6 +36,9 @@ struct ModuleViewModifier: ViewModifier where T: ModuleBuilder & Equatable { func body(content: Content) -> some View { Form { content +#if DEBUG + UUIDSection(uuid: draft.id) +#endif } .themeForm() .themeManualInput()