feat: Set default boot behavior to CONTINUE_RECORDING

This commit is contained in:
Myzel394 2023-10-28 18:41:29 +02:00
parent bd4af5f26a
commit eeaeb52fb0
No known key found for this signature in database
GPG Key ID: 79CC92F37B3E1A2B

View File

@ -19,7 +19,7 @@ data class AppSettings(
val showAdvancedSettings: Boolean = false, val showAdvancedSettings: Boolean = false,
val theme: Theme = Theme.SYSTEM, val theme: Theme = Theme.SYSTEM,
val lastRecording: RecordingInformation? = null, val lastRecording: RecordingInformation? = null,
val bootBehavior: BootBehavior? = BootBehavior.START_RECORDING, val bootBehavior: BootBehavior? = BootBehavior.CONTINUE_RECORDING,
) { ) {
fun setShowAdvancedSettings(showAdvancedSettings: Boolean): AppSettings { fun setShowAdvancedSettings(showAdvancedSettings: Boolean): AppSettings {
return copy(showAdvancedSettings = showAdvancedSettings) return copy(showAdvancedSettings = showAdvancedSettings)