Skip to content

Commit

Permalink
Merge pull request #130 from Infomaniak/Clean-Stores-module-visibilities
Browse files Browse the repository at this point in the history
Hide logic with internal classes
  • Loading branch information
FabianDevel authored Feb 12, 2024
2 parents ac32d2e + 5aac253 commit 429af5b
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package com.infomaniak.lib.stores.updatemanagers

import android.content.Context

class WorkerUpdateManager(appContext: Context) {
internal class WorkerUpdateManager(appContext: Context) {

fun installDownloadedUpdate(onInstallFailure: (Exception) -> Unit, onInstallSuccess: () -> Unit) = Unit
}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package com.infomaniak.lib.stores

import androidx.fragment.app.FragmentActivity

interface StoresUtils {
internal interface StoresUtils {

//region In-App Review
fun FragmentActivity.launchInAppReview() = Unit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.infomaniak.lib.core.utils.SentryLog

class StoresViewModel : ViewModel() {
internal class StoresViewModel : ViewModel() {

val canInstallUpdate = MutableLiveData(false)

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import android.content.Context
import com.google.android.play.core.appupdate.AppUpdateManagerFactory
import com.infomaniak.lib.stores.StoresLocalSettings

class WorkerUpdateManager(appContext: Context) {
internal class WorkerUpdateManager(appContext: Context) {

private val appUpdateManager = AppUpdateManagerFactory.create(appContext)
private val localSettings = StoresLocalSettings.getInstance(appContext)
Expand Down

0 comments on commit 429af5b

Please sign in to comment.