We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e77fd16 commit 9982ee3Copy full SHA for 9982ee3
1 file changed
Core/Sources/HostApp/HostApp.swift
@@ -27,6 +27,10 @@ struct HostApp: ReducerProtocol {
27
}
28
29
@Dependency(\.toast) var toast
30
+
31
+ init() {
32
+ KeyboardShortcuts.userDefaults = .shared
33
+ }
34
35
var body: some ReducerProtocol<State, Action> {
36
Scope(state: \.general, action: /Action.general) {
@@ -44,7 +48,6 @@ struct HostApp: ReducerProtocol {
44
48
Reduce { _, action in
45
49
switch action {
46
50
case .appear:
47
- KeyboardShortcuts.userDefaults = .shared
51
return .none
52
53
case .informExtensionServiceAboutLicenseKeyChange:
0 commit comments