chore: Upgrade dependencies (#1761)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
Benjamin
2024-03-10 11:05:47 -07:00
committed by oSumAtrIX
parent 757e132321
commit 858dd99ffa
6 changed files with 33 additions and 27 deletions

View File

@@ -43,7 +43,7 @@ class KeystoreManager(app: Application, private val prefs: PreferencesManager) {
suspend fun regenerate() = withContext(Dispatchers.Default) {
val ks = ApkSigner.newKeyStore(
listOf(
setOf(
ApkSigner.KeyStoreEntry(
DEFAULT, DEFAULT
)

View File

@@ -2,6 +2,7 @@ package app.revanced.manager.patcher
import android.content.Context
import app.revanced.library.ApkUtils
import app.revanced.library.ApkUtils.applyTo
import app.revanced.manager.R
import app.revanced.manager.patcher.logger.ManagerLogger
import app.revanced.manager.ui.model.State
@@ -105,8 +106,8 @@ class Session(
}
with(patcher) {
logger.info("Merging integrations")
acceptIntegrations(integrations)
acceptPatches(selectedPatches)
acceptIntegrations(integrations.toSet())
acceptPatches(selectedPatches.toSet())
updateProgress(state = State.COMPLETED) // Merging
logger.info("Applying patches...")
@@ -117,7 +118,7 @@ class Session(
val result = patcher.get()
val aligned = tempDir.resolve("aligned.apk")
ApkUtils.copyAligned(input, aligned, result)
result.applyTo(aligned)
logger.info("Patched apk saved to $aligned")

View File

@@ -3,10 +3,9 @@ package app.revanced.manager.ui.component
import androidx.compose.material3.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.sp
import com.mikepenz.markdown.compose.Markdown
import com.mikepenz.markdown.model.markdownColor
import com.mikepenz.markdown.model.markdownTypography
import com.mikepenz.markdown.m3.markdownColor
import com.mikepenz.markdown.m3.markdownTypography
@Composable
fun Markdown(