Enable hiding toolbar for new installations

This commit is contained in:
M66B
2024-05-24 12:29:25 +02:00
parent b3bf0b7eb4
commit ecfc14f044
3 changed files with 5 additions and 2 deletions

View File

@@ -105,7 +105,7 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
@Override
public void setContentView(View view) {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
boolean hide_toolbar = prefs.getBoolean("hide_toolbar", !BuildConfig.PLAY_STORE_RELEASE);
boolean hide_toolbar = prefs.getBoolean("hide_toolbar", true);
boolean edge_to_edge = prefs.getBoolean("edge_to_edge", false);
LayoutInflater inflater = LayoutInflater.from(this);