Skip to content

Commit

Permalink
Rename setDuckPlayerRC to setDuckPlayerRemoteConfigJSON
Browse files Browse the repository at this point in the history
  • Loading branch information
CrisBarreiro committed Jul 19, 2024
1 parent cb8820f commit c8e7b54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class DuckPlayerFeaturePlugin @Inject constructor(

override fun store(featureName: String, jsonString: String): Boolean {
if (featureName == this.featureName) {
duckPlayerFeatureRepository.setDuckPlayerRC(jsonString)
duckPlayerFeatureRepository.setDuckPlayerRemoteConfigJson(jsonString)
return true
}
return false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import kotlinx.coroutines.launch
interface DuckPlayerFeatureRepository {
fun getDuckPlayerRemoteConfigJson(): String

fun setDuckPlayerRC(jsonString: String)
fun setDuckPlayerRemoteConfigJson(jsonString: String)

suspend fun getUserPreferences(): UserPreferences

Expand Down Expand Up @@ -62,7 +62,7 @@ class RealDuckPlayerFeatureRepository @Inject constructor(
return duckPlayerRC
}

override fun setDuckPlayerRC(jsonString: String) {
override fun setDuckPlayerRemoteConfigJson(jsonString: String) {
appCoroutineScope.launch(dispatcherProvider.io()) {
duckPlayerDataStore.setDuckPlayerRemoteConfigJson(jsonString)
loadToMemory()
Expand Down

0 comments on commit c8e7b54

Please sign in to comment.