feat(YouTube - Swipe controls): Add option for vertical progress bar (#4811)

This commit is contained in:
MarcaD
2025-04-23 14:30:41 +03:00
committed by GitHub
parent 81999d8cd5
commit ebee07ec3a
11 changed files with 536 additions and 169 deletions

View File

@ -342,9 +342,12 @@ public abstract class Setting<T> {
/**
* Identical to calling {@link #save(Object)} using {@link #defaultValue}.
*
* @return The newly saved default value.
*/
public void resetToDefault() {
public T resetToDefault() {
save(defaultValue);
return defaultValue;
}
/**