Modularize more maps files (#3262)

This commit is contained in:
Phil Oliver 2025-09-30 21:37:17 -04:00 committed by GitHub
parent bd0812f0d7
commit 7593560bba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 63 additions and 64 deletions

View file

@ -19,8 +19,10 @@ package org.meshtastic.core.data.di
import dagger.Binds
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import kotlinx.serialization.json.Json
import org.meshtastic.core.data.repository.CustomTileProviderRepository
import org.meshtastic.core.data.repository.CustomTileProviderRepositoryImpl
import javax.inject.Singleton
@ -32,4 +34,9 @@ interface GoogleDataModule {
@Binds
@Singleton
fun bindCustomTileProviderRepository(impl: CustomTileProviderRepositoryImpl): CustomTileProviderRepository
companion object {
@Provides @Singleton
fun provideJson(): Json = Json { prettyPrint = false }
}
}