ktlint format

This commit is contained in:
Felix 2020-06-13 16:33:56 +02:00
parent 6e7d84668e
commit 7090e9a2f3
8 changed files with 4 additions and 9 deletions

View file

@ -1,5 +1,4 @@
import android.app.Application
import de.nicidienase.chaosflix.ChaosflixApplication
import de.nicidienase.chaosflix.ChaosflixInitializer
object LibsInit : ChaosflixInitializer {

View file

@ -9,7 +9,6 @@ import de.nicidienase.chaosflix.common.mediadata.entities.streaming.StreamUrl
import de.nicidienase.chaosflix.common.userdata.entities.progress.PlaybackProgress
import de.nicidienase.chaosflix.common.userdata.entities.progress.PlaybackProgressDao
import de.nicidienase.chaosflix.touch.browse.streaming.StreamingItem
import kotlinx.coroutines.CoroutineScope
@SuppressWarnings("unused")
class CastServiceImpl(

View file

@ -73,7 +73,7 @@ class ChaosflixApplication : Application() {
single<CastService> { CastServiceImpl(get()) }
single { MediaRepository(get(), get(), get()) }
single<AnalyticsWrapper>{ AnalyticsWrapperImpl }
single<AnalyticsWrapper> { AnalyticsWrapperImpl }
viewModel { BrowseViewModel(get(), get(), get(), get(), get(), get(), get(), get()) }
viewModel { PlayerViewModel(get(), get()) }
@ -84,4 +84,3 @@ class ChaosflixApplication : Application() {
}
}
}

View file

@ -15,4 +15,4 @@ class ChaosflixStageConfiguration(context: Context) : StageConfiguration {
override val streamingApiPath = BuildConfig.STREAMING_API_OFFERS_PATH
override val appcenterId: String? = BuildConfig.APPCENTER_ID
override val externalFilesDir: File? = android.os.Environment.getExternalStorageDirectory()
}
}

View file

@ -12,4 +12,4 @@ interface StageConfiguration {
val streamingApiBaseUrl: String
val streamingApiPath: String
val appcenterId: String?
}
}

View file

@ -29,7 +29,6 @@ class PreferencesViewModel(
) : ViewModel() {
private val gson = Gson()
fun cleanNonUserData() {
viewModelScope.launch(Dispatchers.IO) {
mediaRepository.deleteNonUserData()

View file

@ -14,7 +14,7 @@ import androidx.leanback.widget.ListRowPresenter
import androidx.leanback.widget.Row
import androidx.leanback.widget.SectionRow
import androidx.lifecycle.Observer
//import de.nicidienase.chaosflix.LeakCanaryLauncher
// import de.nicidienase.chaosflix.LeakCanaryLauncher
import de.nicidienase.chaosflix.common.mediadata.MediaRepository
import de.nicidienase.chaosflix.common.mediadata.entities.recording.persistence.Conference
import de.nicidienase.chaosflix.common.mediadata.entities.recording.persistence.ConferenceGroup

View file

@ -12,7 +12,6 @@ import androidx.fragment.app.Fragment
import androidx.preference.PreferenceManager
import de.nicidienase.chaosflix.StageConfiguration
import de.nicidienase.chaosflix.common.ChaosflixPreferenceManager
import de.nicidienase.chaosflix.touch.BuildConfig
import de.nicidienase.chaosflix.touch.R
import mehdi.sakout.aboutpage.AboutPage
import mehdi.sakout.aboutpage.Element