Skip to content

Commit 40a2242

Browse files
authored
Merge branch 'main' into T409351
2 parents 06e066a + 1dc3ec0 commit 40a2242

File tree

5 files changed

+7
-1
lines changed

5 files changed

+7
-1
lines changed

WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabCustomizeView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ public struct WMFActivityTabCustomizeView: View {
6868
Text(viewModel.localizedStrings.footer)
6969
.font(Font(WMFFont.for(.caption1)))
7070
.foregroundStyle(Color(uiColor: theme.secondaryText))
71+
.padding(.top, 12)
7172
}
7273
}
7374
.listRowBackground(Color(theme.paperBackground).edgesIgnoringSafeArea([.all]))

WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ public struct WMFActivityTabView: View {
469469

470470
private func customizedEmptyState() -> some View {
471471
WMFSimpleEmptyStateView(imageName: "empty_activity_tab", openCustomize: viewModel.openCustomize, title: viewModel.localizedStrings.customizeEmptyState)
472+
.frame(maxWidth: .infinity)
472473
}
473474
}
474475

WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFSimpleEmptyStateView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public struct WMFSimpleEmptyStateView: View {
3939
)
4040
Spacer()
4141
}
42+
.frame(maxWidth: .infinity)
4243
.padding(.horizontal, 16)
4344
.background(Color(uiColor: theme.paperBackground))
4445
}

WMFComponents/Sources/WMFComponents/Style/WMFIcon.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ public enum WMFSFSymbolIcon {
112112
case textPage
113113
case leave
114114
case gear
115+
case gearShape
115116
case calendar
116117
case share
117118
case infoCircleFill
@@ -284,6 +285,8 @@ public enum WMFSFSymbolIcon {
284285
image = UIImage(systemName: "rectangle.portrait.and.arrow.right", withConfiguration: configuration)
285286
case .gear:
286287
image = UIImage(systemName: "gear", withConfiguration: configuration)
288+
case .gearShape:
289+
image = UIImage(systemName: "gearshape", withConfiguration: configuration)
287290
case .heartFilled:
288291
image = UIImage(systemName: "heart.fill", withConfiguration: configuration)
289292
case .calendar:

Wikipedia/Code/ActivityTabViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ final class WMFActivityTabHostingController: WMFComponentHostingController<WMFAc
294294
ActivityTabFunnel.shared.logActivityTabOverflowMenuProblem()
295295
})
296296

297-
let customizeAction = UIAction(title: CommonStrings.customize, image: WMFSFSymbolIcon.for(symbol: .gear), handler: { _ in
297+
let customizeAction = UIAction(title: CommonStrings.customize, image: WMFSFSymbolIcon.for(symbol: .gearShape), handler: { _ in
298298
self.userDidTapCustomize()
299299
// TODO: Log
300300
})

0 commit comments

Comments
 (0)