File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
SwissTransferFeatures/AccountView Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,9 @@ struct AccountCellView: View {
6464 Button {
6565 guard !isSelected else { return }
6666
67+ @InjectService var matomo : MatomoUtils
68+ matomo. track ( eventWithCategory: . switchUserBottomSheet, name: . switch)
69+
6770 Task { @MainActor in
6871 @InjectService var accountManager : AccountManager
6972 await accountManager. switchUser ( newCurrentUserId: user. id)
Original file line number Diff line number Diff line change @@ -58,6 +58,9 @@ struct AccountListView: View {
5858 . padding ( . vertical, value: . mini)
5959
6060 Button {
61+ @InjectService var matomo : MatomoUtils
62+ matomo. track ( eventWithCategory: . switchUserBottomSheet, name: . addAccount)
63+
6164 mainViewState. isShowingLoginView = true
6265 } label: {
6366 SingleLabelSettingsCell (
You can’t perform that action at this time.
0 commit comments