added all server features disabler for users who doesnt have unlimited internet

This commit is contained in:
gdlbo
2024-01-30 11:28:38 +03:00
parent 3b830f5e2e
commit 58c14fbd4f
17 changed files with 48 additions and 35 deletions
@@ -25,7 +25,7 @@ public class AudioGetLyrics extends ApiRequest<AudioGetLyrics.a> {
public a a(@NonNull JSONObject jSONObject) {
var aVar = new a();
if (Preferences.getBoolValue("useGenius", false)) {
if (Preferences.getBoolValue("useGenius", false) && !Preferences.serverFeaturesDisable()) {
aVar.a = Genius.getTextMusic(musicTrack);
return aVar;
}