Skip to content

Commit

Permalink
fix(YouTube/SponsorBlock): the new SponsorBlock segment popup doesn't…
Browse files Browse the repository at this point in the history
… show minutes in the timestamp inotia00/ReVanced_Extended#2263
  • Loading branch information
inotia00 committed Jul 26, 2024
1 parent fd3a483 commit f67baba
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,7 @@ public static void onMarkLocationClicked() {
new AlertDialog.Builder(SponsorBlockViewController.getOverLaysViewGroupContext())
.setTitle(str("revanced_sb_new_segment_title"))
.setMessage(str("revanced_sb_new_segment_mark_time_as_question",
newSponsorSegmentDialogShownMillis / 3600000,
newSponsorSegmentDialogShownMillis / 1000 % 60,
newSponsorSegmentDialogShownMillis % 1000))
formatSegmentTime(newSponsorSegmentDialogShownMillis)))
.setNeutralButton(android.R.string.cancel, null)
.setNegativeButton(str("revanced_sb_new_segment_mark_start"), newSponsorSegmentDialogListener)
.setPositiveButton(str("revanced_sb_new_segment_mark_end"), newSponsorSegmentDialogListener)
Expand Down

0 comments on commit f67baba

Please sign in to comment.