mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-01-19 08:17:33 +01:00
fix(YouTube - SponsorBlock): Add summary text to 'view my segments' button
This commit is contained in:
parent
2c2641e1cf
commit
0f5dfb4e76
@ -519,6 +519,7 @@ public class SponsorBlockPreferenceFragment extends PreferenceFragment {
|
||||
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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user