diff --git a/testslider3.xcodeproj/project.xcworkspace/xcuserdata/bjorninge.xcuserdatad/UserInterfaceState.xcuserstate b/testslider3.xcodeproj/project.xcworkspace/xcuserdata/bjorninge.xcuserdatad/UserInterfaceState.xcuserstate index fb982a6..d3bbf64 100644 Binary files a/testslider3.xcodeproj/project.xcworkspace/xcuserdata/bjorninge.xcuserdatad/UserInterfaceState.xcuserstate and b/testslider3.xcodeproj/project.xcworkspace/xcuserdata/bjorninge.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/testslider3.xcodeproj/xcuserdata/bjorninge.xcuserdatad/xcschemes/xcschememanagement.plist b/testslider3.xcodeproj/xcuserdata/bjorninge.xcuserdatad/xcschemes/xcschememanagement.plist index 4dbc098..2905a20 100644 --- a/testslider3.xcodeproj/xcuserdata/bjorninge.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/testslider3.xcodeproj/xcuserdata/bjorninge.xcuserdatad/xcschemes/xcschememanagement.plist @@ -5,6 +5,11 @@ SchemeUserState testslider3.xcscheme_^#shared#^_ + + orderHint + 1 + + testwidgetslider3Extension.xcscheme_^#shared#^_ orderHint 0 diff --git a/testslider3/ContentView.swift b/testslider3/ContentView.swift index 1df4269..4c0ff2d 100644 --- a/testslider3/ContentView.swift +++ b/testslider3/ContentView.swift @@ -10,9 +10,14 @@ import SlideButton @main struct SliderApp : App { + init () { + UserDefaults.standard.set(["ar"], forKey: "AppleLanguages") + } var body: some Scene { WindowGroup { ContentView() + .environment(\.locale, Locale(identifier: "ar")) + .environment(\.layoutDirection, .rightToLeft) } } }