Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
fix(YouTube - SponsorBlock): Add summary text to 'view my segments' b…
Browse files Browse the repository at this point in the history
…utton
  • Loading branch information
LisoUseInAIKyrios committed Sep 9, 2024
1 parent 2c2641e commit 0f5dfb4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@ private void addUserStats(@NonNull Preference loadingPlaceholder, @Nullable User
statsCategory.addPreference(preference);
String formatted = SponsorBlockUtils.getNumberOfSkipsString(stats.segmentCount);
preference.setTitle(fromHtml(str("revanced_sb_stats_submissions", formatted)));
preference.setSummary(str("revanced_sb_stats_submissions_sum"));
if (stats.totalSegmentCountIncludingIgnored == 0) {
preference.setSelectable(false);
} else {
Expand Down

0 comments on commit 0f5dfb4

Please sign in to comment.