mirror of
https://github.com/openlibrecommunity/olcng.git
synced 2026-07-03 14:05:17 +02:00
013ac308f7
- Changed `allowInsecure` from `var` to `val` to ensure immutability. - Replaced the nullable safe call `settingsStorage?.decodeBool(AppConfig.PREF_ALLOW_INSECURE) ?: false` with `settingsStorage.decodeBool(AppConfig.PREF_ALLOW_INSECURE, false)` for more concise and readable code. - This ensures `allowInsecure` is always initialized with a default value of `false` in a cleaner and more efficient way.