Commit 1143c687 authored by Geoffrey Métais's avatar Geoffrey Métais

Fix typo

parent 6756db90
...@@ -173,7 +173,7 @@ public class AudioPlayer extends PlaybackServiceFragment implements PlaybackServ ...@@ -173,7 +173,7 @@ public class AudioPlayer extends PlaybackServiceFragment implements PlaybackServ
mHeaderPlayPauseVisible = true; mHeaderPlayPauseVisible = true;
mProgressBarVisible = true; mProgressBarVisible = true;
mHeaderTimeVisible = true; mHeaderTimeVisible = true;
restoreHedaderButtonVisibilities(); restoreHeaderButtonVisibilities();
mTime.setOnClickListener(new View.OnClickListener() { mTime.setOnClickListener(new View.OnClickListener() {
@Override @Override
...@@ -563,10 +563,10 @@ public class AudioPlayer extends PlaybackServiceFragment implements PlaybackServ ...@@ -563,10 +563,10 @@ public class AudioPlayer extends PlaybackServiceFragment implements PlaybackServ
mProgressBarVisible = progressBarVisible; mProgressBarVisible = progressBarVisible;
mHeaderTimeVisible = headerTimeVisible; mHeaderTimeVisible = headerTimeVisible;
mSearchVisible = searchVisible; mSearchVisible = searchVisible;
restoreHedaderButtonVisibilities(); restoreHeaderButtonVisibilities();
} }
private void restoreHedaderButtonVisibilities() { private void restoreHeaderButtonVisibilities() {
mAdvFunc.setVisibility(mAdvFuncVisible ? View.VISIBLE : View.GONE); mAdvFunc.setVisibility(mAdvFuncVisible ? View.VISIBLE : View.GONE);
mPlaylistSwitch.setVisibility(mPlaylistSwitchVisible ? View.VISIBLE : View.GONE); mPlaylistSwitch.setVisibility(mPlaylistSwitchVisible ? View.VISIBLE : View.GONE);
mPlaylistSearchButton.setVisibility(mSearchVisible ? View.VISIBLE : View.GONE); mPlaylistSearchButton.setVisibility(mSearchVisible ? View.VISIBLE : View.GONE);
...@@ -575,7 +575,7 @@ public class AudioPlayer extends PlaybackServiceFragment implements PlaybackServ ...@@ -575,7 +575,7 @@ public class AudioPlayer extends PlaybackServiceFragment implements PlaybackServ
mHeaderTime.setVisibility(mHeaderTimeVisible ? TextView.VISIBLE : TextView.GONE); mHeaderTime.setVisibility(mHeaderTimeVisible ? TextView.VISIBLE : TextView.GONE);
} }
private void hideHedaderButtons() { private void hideHeaderButtons() {
mAdvFunc.setVisibility(View.GONE); mAdvFunc.setVisibility(View.GONE);
mPlaylistSwitch.setVisibility(View.GONE); mPlaylistSwitch.setVisibility(View.GONE);
mPlaylistSearchButton.setVisibility(View.GONE); mPlaylistSearchButton.setVisibility(View.GONE);
...@@ -600,12 +600,12 @@ public class AudioPlayer extends PlaybackServiceFragment implements PlaybackServ ...@@ -600,12 +600,12 @@ public class AudioPlayer extends PlaybackServiceFragment implements PlaybackServ
@Override @Override
public void onTouchDown() { public void onTouchDown() {
hideHedaderButtons(); hideHeaderButtons();
} }
@Override @Override
public void onTouchUp() { public void onTouchUp() {
restoreHedaderButtonVisibilities(); restoreHeaderButtonVisibilities();
} }
@Override @Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment