fix dynamic part creation setting is not persisted

This commit is contained in:
AmirHossein Abdolmotallebi 2024-08-14 02:23:45 +03:30
parent 8fe29ec8ac
commit d51d63db4c
2 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@
### Fixed
- App is now open in center of screen
- Some settings doesn't persist after app restart
### Security

View File

@ -69,6 +69,7 @@ data class AppSettingsModel(
return source.apply {
put(Keys.theme, focus.theme)
put(Keys.threadCount, focus.threadCount)
put(Keys.dynamicPartCreation, focus.dynamicPartCreation)
put(Keys.useAverageSpeed, focus.useAverageSpeed)
put(Keys.speedLimit, focus.speedLimit)
put(Keys.autoStartOnBoot, focus.autoStartOnBoot)