diff --git a/DemoApp/DemoApp/TestViews/PreviewVariants.swift b/DemoApp/DemoApp/TestViews/PreviewVariants.swift index 805cdd5..7301612 100644 --- a/DemoApp/DemoApp/TestViews/PreviewVariants.swift +++ b/DemoApp/DemoApp/TestViews/PreviewVariants.swift @@ -86,7 +86,10 @@ extension [NamedViewModifier] { /// The default named view modifiers in a ``PreviewVariants``. static var previewDefault: [NamedViewModifier] { #if os(iOS) - [.unmodified, .darkMode, .xxlTextSize, .rtl, .accessibility, .landscape] + if UserDefaults.standard.bool(forKey: "NSDoubleLocalizedStrings") { + return [.unmodified, .darkMode, .xxlTextSize, .rtl, .landscape] + } + return [.unmodified, .darkMode, .xxlTextSize, .rtl, .accessibility, .landscape] #else [.unmodified, .darkMode, .rtl] #endif