mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-06-02 19:36:30 +02:00
16 lines
393 B
Java
16 lines
393 B
Java
package app.revanced.integrations.tiktok.speed;
|
|
|
|
import app.revanced.integrations.tiktok.settings.Settings;
|
|
|
|
@SuppressWarnings("unused")
|
|
public class PlaybackSpeedPatch {
|
|
|
|
public static void rememberPlaybackSpeed(float newSpeed) {
|
|
Settings.REMEMBERED_SPEED.save(newSpeed);
|
|
}
|
|
|
|
public static float getPlaybackSpeed() {
|
|
return Settings.REMEMBERED_SPEED.get();
|
|
}
|
|
}
|