Updated version code, translations and changelog.
This commit is contained in:
parent
f9fb76ca96
commit
176fce9ab5
5 changed files with 31 additions and 10 deletions
|
|
@ -14,6 +14,7 @@ import com.github.paolorotolo.appintro.AppIntro;
|
|||
import com.github.paolorotolo.appintro.AppIntroFragment;
|
||||
import com.kabouzeid.gramophone.R;
|
||||
import com.kabouzeid.gramophone.util.ColorUtil;
|
||||
import com.kabouzeid.gramophone.util.PreferenceUtil;
|
||||
|
||||
/**
|
||||
* @author Karim Abou Zeid (kabouzeid)
|
||||
|
|
@ -69,4 +70,16 @@ public class IntroActivity extends AppIntro {
|
|||
}
|
||||
}, 2000);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSkipPressed() {
|
||||
super.onSkipPressed();
|
||||
PreferenceUtil.getInstance(this).setIntroShown();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDonePressed() {
|
||||
super.onDonePressed();
|
||||
PreferenceUtil.getInstance(this).setIntroShown();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -118,8 +118,7 @@ public class MainActivity extends AbsSlidingMusicPanelActivity
|
|||
|
||||
checkChangelog();
|
||||
|
||||
PreferenceUtil.getInstance(this).incrementAppOpenCount();
|
||||
if (PreferenceUtil.getInstance(this).getAppOpenCount() == 1) {
|
||||
if (!PreferenceUtil.getInstance(this).introShown()) {
|
||||
// let the app intro handle getting the permissions first
|
||||
introActivityHandlingPermissions = true;
|
||||
new Handler().postDelayed(new Runnable() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue