You've already forked revanced-integrations
mirror of
https://github.com/revanced/revanced-integrations
synced 2025-11-21 18:35:37 +01:00
Compare commits
5 Commits
v0.108.0-d
...
v0.103.1-d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7d95844167 | ||
|
|
afd9b6e305 | ||
|
|
5e6d9ed9cd | ||
|
|
1ada30d5c9 | ||
|
|
f20f6c24b3 |
14
CHANGELOG.md
14
CHANGELOG.md
@@ -1,3 +1,17 @@
|
|||||||
|
## [0.103.1-dev.2](https://github.com/revanced/revanced-integrations/compare/v0.103.1-dev.1...v0.103.1-dev.2) (2023-04-23)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **youtube/hide-video-action-buttons:** fix hide action buttons not working for some users ([#366](https://github.com/revanced/revanced-integrations/issues/366)) ([afd9b6e](https://github.com/revanced/revanced-integrations/commit/afd9b6e30566d735075c16d3f5173e406c965a8c))
|
||||||
|
|
||||||
|
## [0.103.1-dev.1](https://github.com/revanced/revanced-integrations/compare/v0.103.0...v0.103.1-dev.1) (2023-04-22)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **youtube/sponsorblock:** Include milliseconds in the voting menu ([#362](https://github.com/revanced/revanced-integrations/issues/362)) ([1ada30d](https://github.com/revanced/revanced-integrations/commit/1ada30d5c925f1b0f21d45865240780e4ecd84d7))
|
||||||
|
|
||||||
# [0.103.0](https://github.com/revanced/revanced-integrations/compare/v0.102.0...v0.103.0) (2023-04-21)
|
# [0.103.0](https://github.com/revanced/revanced-integrations/compare/v0.102.0...v0.103.0) (2023-04-21)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
2
app/proguard-rules.pro
vendored
2
app/proguard-rules.pro
vendored
@@ -20,6 +20,8 @@
|
|||||||
# hide the original source file name.
|
# hide the original source file name.
|
||||||
#-renamesourcefileattribute SourceFile
|
#-renamesourcefileattribute SourceFile
|
||||||
-dontobfuscate
|
-dontobfuscate
|
||||||
|
-dontoptimize
|
||||||
|
-keepattributes * # https://www.guardsquare.com/manual/configuration/attributes
|
||||||
-keep class app.revanced.** {
|
-keep class app.revanced.** {
|
||||||
*;
|
*;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,8 @@ final class ButtonsPatch extends Filter {
|
|||||||
new BlockRule(SettingsEnum.HIDE_LIKE_DISLIKE_BUTTON, "|like_button", "dislike_button"),
|
new BlockRule(SettingsEnum.HIDE_LIKE_DISLIKE_BUTTON, "|like_button", "dislike_button"),
|
||||||
new BlockRule(SettingsEnum.HIDE_DOWNLOAD_BUTTON, "download_button"),
|
new BlockRule(SettingsEnum.HIDE_DOWNLOAD_BUTTON, "download_button"),
|
||||||
new BlockRule(SettingsEnum.HIDE_PLAYLIST_BUTTON, "save_to_playlist_button"),
|
new BlockRule(SettingsEnum.HIDE_PLAYLIST_BUTTON, "save_to_playlist_button"),
|
||||||
new BlockRule(SettingsEnum.HIDE_ACTION_BUTTONS, "ContainerType|video_action_button")
|
new BlockRule(SettingsEnum.HIDE_CLIP_BUTTON, "|clip_button.eml|"),
|
||||||
|
new BlockRule(SettingsEnum.HIDE_ACTION_BUTTONS, "ContainerType|video_action_button", "|CellType|CollectionType|CellType|ContainerType|button.eml|")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ public enum SettingsEnum {
|
|||||||
HIDE_LIKE_DISLIKE_BUTTON("revanced_hide_like_dislike_button", BOOLEAN, FALSE),
|
HIDE_LIKE_DISLIKE_BUTTON("revanced_hide_like_dislike_button", BOOLEAN, FALSE),
|
||||||
HIDE_DOWNLOAD_BUTTON("revanced_hide_download_button", BOOLEAN, FALSE),
|
HIDE_DOWNLOAD_BUTTON("revanced_hide_download_button", BOOLEAN, FALSE),
|
||||||
HIDE_PLAYLIST_BUTTON("revanced_hide_playlist_button", BOOLEAN, FALSE),
|
HIDE_PLAYLIST_BUTTON("revanced_hide_playlist_button", BOOLEAN, FALSE),
|
||||||
|
HIDE_CLIP_BUTTON("revanced_hide_clip_button", BOOLEAN, FALSE, "revanced_hide_clip_button_user_dialog_message"),
|
||||||
HIDE_ACTION_BUTTONS("revanced_hide_action_buttons", BOOLEAN, FALSE),
|
HIDE_ACTION_BUTTONS("revanced_hide_action_buttons", BOOLEAN, FALSE),
|
||||||
|
|
||||||
// Layout settings
|
// Layout settings
|
||||||
|
|||||||
@@ -300,13 +300,13 @@ public class SponsorBlockUtils {
|
|||||||
final long currentVideoLength = VideoInformation.getCurrentVideoLength();
|
final long currentVideoLength = VideoInformation.getCurrentVideoLength();
|
||||||
final String formatPattern;
|
final String formatPattern;
|
||||||
if (currentVideoLength < (10 * 60 * 1000)) {
|
if (currentVideoLength < (10 * 60 * 1000)) {
|
||||||
formatPattern = "m:ss"; // less than 10 minutes
|
formatPattern = "m:ss.SSS"; // less than 10 minutes
|
||||||
} else if (currentVideoLength < (60 * 60 * 1000)) {
|
} else if (currentVideoLength < (60 * 60 * 1000)) {
|
||||||
formatPattern = "mm:ss"; // less than 1 hour
|
formatPattern = "mm:ss.SSS"; // less than 1 hour
|
||||||
} else if (currentVideoLength < (10 * 60 * 60 * 1000)) {
|
} else if (currentVideoLength < (10 * 60 * 60 * 1000)) {
|
||||||
formatPattern = "H:mm:ss"; // less than 10 hours
|
formatPattern = "H:mm:ss.SSS"; // less than 10 hours
|
||||||
} else {
|
} else {
|
||||||
formatPattern = "HH:mm:ss"; // why is this on YouTube
|
formatPattern = "HH:mm:ss.SSS"; // why is this on YouTube
|
||||||
}
|
}
|
||||||
voteSegmentTimeFormatter.applyPattern(formatPattern);
|
voteSegmentTimeFormatter.applyPattern(formatPattern);
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
org.gradle.jvmargs = -Xmx2048m
|
org.gradle.jvmargs = -Xmx2048m
|
||||||
android.useAndroidX = true
|
android.useAndroidX = true
|
||||||
version = 0.103.0
|
version = 0.103.1-dev.2
|
||||||
|
|||||||
Reference in New Issue
Block a user