Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -781,6 +781,13 @@ class ActivityTabFragment : Fragment() {
}
true
}
R.id.menu_clear_donation_history -> {
ActivityTabEvent.submit(activeInterface = "activity_tab_overflow_menu", action = "clear_donation_history_click")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious, have you checked with the analyst about the event strings?

Copy link
Collaborator Author

@Williamrai Williamrai Oct 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, confirmed with shay. Link

Prefs.donationResults = emptyList()
Prefs.activityTabModules = Prefs.activityTabModules.setModuleEnabled(ModuleType.DONATIONS, false)
viewModel.loadAll()
true
}
R.id.menu_learn_more -> {
ActivityTabEvent.submit(activeInterface = "activity_tab_overflow_menu", action = "learn_click")
UriUtil.visitInExternalBrowser(requireActivity(), getString(R.string.activity_tab_url).toUri())
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/res/menu/menu_activity_tab_overflow.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
android:icon="@drawable/ic_delete_white_24dp"
android:title="@string/menu_clear_all_history"
app:iconTint="?attr/secondary_color" />
<item
android:id="@+id/menu_clear_donation_history"
android:icon="@drawable/ic_delete_white_24dp"
android:title="@string/preference_title_delete_local_donation_history"
app:iconTint="?attr/secondary_color" />
<item
android:id="@+id/menu_report_feature"
android:icon="@drawable/ic_report_flag"
Expand Down
Loading