mirror of
https://github.com/Cateners/tiny_computer.git
synced 2026-05-20 16:35:47 +08:00
Enable pip
This commit is contained in:
@@ -28,7 +28,7 @@ class AppPreferences(context: Context) {
|
||||
inner class Viewer {
|
||||
val orientation; get() = prefs.getString("viewer_orientation", "landscape")
|
||||
val fullscreen; get() = prefs.getBoolean("fullscreen_display", true)
|
||||
val pipEnabled; get() = prefs.getBoolean("pip_enabled", false)
|
||||
val pipEnabled; get() = prefs.getBoolean("pip_enabled", true)
|
||||
val drawBehindCutout; get() = prefs.getBoolean("viewer_draw_behind_cutout", false)
|
||||
val keepScreenOn; get() = prefs.getBoolean("keep_screen_on", true)
|
||||
val toolbarAlignment; get() = prefs.getString("toolbar_alignment", "start")
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
|
||||
<SwitchPreference
|
||||
app:defaultValue="false"
|
||||
app:defaultValue="true"
|
||||
app:key="pip_enabled"
|
||||
app:title="@string/pref_enable_pip" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user