From 241b9d701a7626271cb0d85933d8a76fc8e01870 Mon Sep 17 00:00:00 2001 From: Kyle Matthew Hedden Date: Thu, 31 Mar 2022 20:10:05 -0400 Subject: [PATCH] Allow server to mask imageview models. Unmasked by default. --- MVMCoreUI/Atomic/Atoms/Views/ImageViewModel.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MVMCoreUI/Atomic/Atoms/Views/ImageViewModel.swift b/MVMCoreUI/Atomic/Atoms/Views/ImageViewModel.swift index 65bc978c..9b019207 100644 --- a/MVMCoreUI/Atomic/Atoms/Views/ImageViewModel.swift +++ b/MVMCoreUI/Atomic/Atoms/Views/ImageViewModel.swift @@ -26,6 +26,7 @@ public var localBundle: Bundle? public var cornerRadius: CGFloat? public var clipsImage: Bool? + public var shouldMaskRecordedView: Bool = false //-------------------------------------------------- // MARK: - Initializer @@ -54,5 +55,6 @@ case contentMode case cornerRadius case clipsImage + case shouldMaskRecordedView } }