Add synchronized lyrics preference
Fix animations
This commit is contained in:
parent
dbb6250c06
commit
93e2dc0346
10 changed files with 50 additions and 18 deletions
|
|
@ -69,6 +69,8 @@ public final class PreferenceUtil {
|
|||
|
||||
public static final String START_DIRECTORY = "start_directory";
|
||||
|
||||
public static final String SYNCHRONIZED_LYRICS_SHOW = "synchronized_lyrics_show";
|
||||
|
||||
private static PreferenceUtil sInstance;
|
||||
|
||||
private final SharedPreferences mPreferences;
|
||||
|
|
@ -400,4 +402,8 @@ public final class PreferenceUtil {
|
|||
editor.putString(START_DIRECTORY, file.getPath());
|
||||
editor.apply();
|
||||
}
|
||||
|
||||
public final boolean synchronizedLyricsShow() {
|
||||
return mPreferences.getBoolean(SYNCHRONIZED_LYRICS_SHOW, true);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue