Always snapshots in kioskmode
This commit is contained in:
parent
741f8c83c8
commit
90c898db82
2 changed files with 7 additions and 4 deletions
|
@ -100,6 +100,7 @@ public class MirrorMenuActivity extends AppCompatActivity implements Detector.Im
|
|||
highscoresButton .setTypeface(font);
|
||||
creditsButton .setTypeface(font);
|
||||
settingsButton.setTypeface(font);
|
||||
settingsButton.setVisibility(View.INVISIBLE); // kiosk mode doesn't have settings
|
||||
messageText.setTypeface(font);
|
||||
nextButton.setTypeface(font);
|
||||
readyButton.setTypeface(font);
|
||||
|
|
|
@ -64,13 +64,15 @@ public class Player {
|
|||
}
|
||||
|
||||
public boolean hasSetSnapshotConfirm() {
|
||||
SharedPreferences settings = c.getSharedPreferences(PREFS_NAME, 0);
|
||||
return settings.contains("snapshot_confirm");
|
||||
return true; // this is kioskmode, always snapshot!
|
||||
// SharedPreferences settings = c.getSharedPreferences(PREFS_NAME, 0);
|
||||
// return settings.contains("snapshot_confirm");
|
||||
}
|
||||
|
||||
public boolean allowsSnapshots() {
|
||||
SharedPreferences settings = c.getSharedPreferences(PREFS_NAME, 0);
|
||||
return settings.getBoolean("snapshot_confirm", false);
|
||||
return true; // this is kioskmode: always snapshot!
|
||||
// SharedPreferences settings = c.getSharedPreferences(PREFS_NAME, 0);
|
||||
// return settings.getBoolean("snapshot_confirm", false);
|
||||
}
|
||||
|
||||
public void setAllowsSnapshots(boolean allows) {
|
||||
|
|
Loading…
Reference in a new issue