mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-11-23 15:47:20 +00:00
add history preference keys
# Conflicts: # shared/src/commonTest/kotlin/net/newpipe/app/extensions/SettingsModule.kt
This commit is contained in:
1 parent
8917ff1b29
commit
8d73fd2a7c
1 file changed
-7
@@ -13,13 +13,6 @@ import org.koin.dsl.module
|
||||
/**
|
||||
* Builds a Koin module exposing [settings] as the only [Settings] instance.
|
||||
*
|
||||
* Every test goes through this single `single<Settings>` declaration on purpose. The Koin compiler
|
||||
* plugin keeps the metadata of a `single` binding in the =
|
||||
* names of the synthetic parameters it
|
||||
* generates, and parameter names are not part of an IR signature. Declaring `single<Settings>` in
|
||||
* more than one place therefore produces colliding signatures that fail klib serialization on the
|
||||
* native targets.
|
||||
*
|
||||
* @param settings Settings to expose, empty by default
|
||||
*/
|
||||
fun settingsModule(settings: Settings = MapSettings()): Module = module {
|
||||
|
||||
Reference in new issue
Block a user