Skip to content

Commit

Permalink
Fix github actions (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
UmairKhalid786 authored Nov 10, 2024
1 parent 3d5e25e commit 22f3cae
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 9 deletions.
2 changes: 2 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile

-dontwarn org.slf4j.impl.StaticLoggerBinder
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,11 @@ fun HomeNestedScreen(
delay(200)
focusRequester.requestFocus()
}
}~Z
}
},
)
.onFocusChanged {
if (it.hasFocus) {
// showCarousel.value = true
// showTopPickDetails.value = false
} else {
if (it.hasFocus.not()) {
showCarousel.value = true
showTopPickDetails.value = false
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import com.techlads.composetv.features.home.leftmenu.model.MenuItem
import com.techlads.composetv.features.home.network.TmdbApiService
import com.techlads.composetv.features.home.network.data.Movie
import com.techlads.composetv.utils.toMutable
import com.techlads.network.di.ApiResult
import com.techlads.network.ApiResult
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.techlads.composetv.features.home.network

import com.techlads.composetv.features.home.network.data.MovieResponse
import com.techlads.network.di.ApiResult
import com.techlads.network.ApiResult
import com.techlads.network.di.safeGet
import io.ktor.client.HttpClient
import io.ktor.client.request.header
Expand Down
5 changes: 4 additions & 1 deletion network/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
#-renamesourcefileattribute SourceFile

-keep class com.techlads.network.** { *; }
-dontwarn java.lang.invoke.StringConcatFactory
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.techlads.network.di
package com.techlads.network

sealed class ApiResult<out T> {
data class Success<T>(val data: T) : ApiResult<T>()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.techlads.network.di

import com.techlads.network.ApiResult
import com.techlads.network.BuildConfig
import dagger.Module
import dagger.Provides
Expand Down
1 change: 1 addition & 0 deletions utils/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
10 changes: 10 additions & 0 deletions utils/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.kotlin.jvm)
}

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

0 comments on commit 22f3cae

Please sign in to comment.