diff --git a/Anytype/Sources/FrameworkExtensions/SwiftUI/TappableArea+Button.swift b/Anytype/Sources/FrameworkExtensions/SwiftUI/TappableArea+Button.swift index b3958cbb9c..4a59639634 100644 --- a/Anytype/Sources/FrameworkExtensions/SwiftUI/TappableArea+Button.swift +++ b/Anytype/Sources/FrameworkExtensions/SwiftUI/TappableArea+Button.swift @@ -7,7 +7,7 @@ struct IncreaseTapButton: View { @ViewBuilder let label: Label - init(action: @escaping @MainActor () -> Void, insets: EdgeInsets = EdgeInsets(side: 30), @ViewBuilder label: () -> Label) { + init(action: @escaping @MainActor () -> Void, insets: EdgeInsets = EdgeInsets(side: 15), @ViewBuilder label: () -> Label) { self.action = action self.insets = insets self.label = label() diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/Submodule/WidgetsHeader/WidgetsHeaderView.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/Submodule/WidgetsHeader/WidgetsHeaderView.swift index 1e92ab0bef..4b46430cd4 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/Submodule/WidgetsHeader/WidgetsHeaderView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/Submodule/WidgetsHeader/WidgetsHeaderView.swift @@ -28,6 +28,10 @@ struct WidgetsHeaderView: View { } Spacer() } + .fixTappableArea() + .onTapGesture { + model.onTapSpaceSettings() + } } rightView: { Image(asset: .X24.spaceSettings) .foregroundStyle(Color.Control.navPanelIcon)