Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump material3 from 1.0.0-alpha14 to 1.0.0-alpha15 #1

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id("com.google.devtools.ksp")
id("org.jetbrains.kotlin.android.extensions")
kotlin("plugin.serialization") version "1.7.10"
}

Expand Down Expand Up @@ -142,7 +143,7 @@ dependencies {

// Material 3 + 2
implementation("androidx.compose.material3:material3-window-size-class:1.0.0-alpha15")
implementation("androidx.compose.material3:material3:1.0.0-alpha14")
implementation("androidx.compose.material3:material3:1.0.0-alpha15")
implementation("androidx.compose.material:material:1.1.1")

// Tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package app.revanced.manager.ui.screens.mainsubscreens

import android.app.Application
import android.content.pm.PackageManager
import android.os.Parcelable
import android.util.Log
import androidx.activity.ComponentActivity
import androidx.compose.foundation.layout.Column
Expand Down Expand Up @@ -41,6 +42,7 @@ import app.revanced.patcher.util.patch.implementation.DexPatchBundle
import com.ramcosta.composedestinations.annotation.Destination
import com.ramcosta.composedestinations.annotation.RootNavGraph
import dalvik.system.DexClassLoader
import kotlinx.android.parcel.Parcelize
import kotlinx.coroutines.flow.first
import kotlinx.coroutines.flow.map
import kotlinx.coroutines.launch
Expand Down Expand Up @@ -127,10 +129,11 @@ fun PatcherSubscreen(
}
}

@Parcelize
data class PatchClass(
val patch: Class<out Patch<Data>>,
val unsupported: Boolean,
)
) : Parcelable

class PatcherViewModel(val app: Application) : AndroidViewModel(app) {
private val bundleCacheDir = app.filesDir.resolve("bundle-cache").also { it.mkdirs() }
Expand Down