Skip to content

Commit

Permalink
[release] 5.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
heyanLE committed Feb 24, 2024
1 parent b28ad85 commit 8dcd9cd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,7 @@ fun LocalPlay(
) {
val isPad = isCurPadeMode()
val vm = viewModel<LocalPlayViewModel>(factory = LocalPlayViewModelFactory(uuid = uuid))
val controlVM = ControlViewModelFactory.viewModel(Injekt.get<ExoPlayer>().let {
// it.toString().loge("ExoPlayer-----")
it
}, isPad, LocalPlayViewModel.TAG)
val controlVM = ControlViewModelFactory.viewModel(vm.exoPlayer, isPad, LocalPlayViewModel.TAG)
val nav = LocalNavController.current

val state by vm.flow.collectAsState()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class LocalPlayViewModel(


private val exoPlayerBuilder: ExoPlayer.Builder by Injekt.injectLazy()
private val exoPlayer = exoPlayerBuilder.build()
val exoPlayer = exoPlayerBuilder.build()
private val localCartoonCase: LocalCartoonCase by Injekt.injectLazy()

private val settingPreferences: SettingPreferences by Injekt.injectLazy()
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/java/com/heyanle/buildsrc/Android.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ object Android {
const val targetSdk = 34
const val compileSdk = 34

const val versionCode = 83
const val versionName = "5.1.1"
const val versionCode = 84
const val versionName = "5.1.2"


}

0 comments on commit 8dcd9cd

Please sign in to comment.