This commit is contained in:
Roshan Varughese 2024-09-22 03:06:26 +12:00
parent 071e6eaf42
commit bb27e45c7f
2 changed files with 2 additions and 5 deletions

View File

@ -142,9 +142,7 @@ internal class PermissionStep : OnboardingStep {
securityPreferences.analytics().set(allowAnalytics)
},
)
}
}
@Composable
@ -214,5 +212,4 @@ internal class PermissionStep : OnboardingStep {
colors = ListItemDefaults.colors(containerColor = Color.Transparent),
)
}
}

View File

@ -4,9 +4,9 @@ import android.content.Context
import com.google.firebase.analytics.FirebaseAnalytics
import com.google.firebase.crashlytics.FirebaseCrashlytics
import eu.kanade.tachiyomi.core.security.SecurityPreferences
import kotlinx.coroutines.flow.onEach
import kotlinx.coroutines.flow.launchIn
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.flow.launchIn
import kotlinx.coroutines.flow.onEach
object Firebase {
fun setup(context: Context, preference: SecurityPreferences, scope: CoroutineScope) {