mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-04-29 21:44:26 +02:00
more cleanup
This commit is contained in:
parent
53c939d005
commit
04774d9079
@ -164,17 +164,6 @@ fun SelectedAppInfoScreen(
|
|||||||
),
|
),
|
||||||
vm.options
|
vm.options
|
||||||
)
|
)
|
||||||
/*
|
|
||||||
navController.navigate(
|
|
||||||
SelectedAppInfoDestination.PatchesSelector(
|
|
||||||
vm.selectedApp,
|
|
||||||
vm.getCustomPatches(
|
|
||||||
bundles,
|
|
||||||
allowIncompatiblePatches
|
|
||||||
),
|
|
||||||
vm.options
|
|
||||||
)
|
|
||||||
)*/
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
PageItem(
|
PageItem(
|
||||||
@ -205,25 +194,6 @@ fun SelectedAppInfoScreen(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
PatchesSelectorScreen(
|
|
||||||
onSave = { patches, options ->
|
|
||||||
vm.updateConfiguration(patches, options, bundles)
|
|
||||||
navController.pop()
|
|
||||||
},
|
|
||||||
onBackClick = navController::pop,
|
|
||||||
vm = koinViewModel {
|
|
||||||
parametersOf(
|
|
||||||
PatchesSelectorViewModel.Params(
|
|
||||||
destination.app,
|
|
||||||
destination.currentSelection,
|
|
||||||
destination.options,
|
|
||||||
)
|
|
||||||
)
|
|
||||||
}
|
|
||||||
)
|
|
||||||
*/
|
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
private fun PageItem(@StringRes title: Int, description: String, onClick: () -> Unit) {
|
private fun PageItem(@StringRes title: Int, description: String, onClick: () -> Unit) {
|
||||||
ListItem(
|
ListItem(
|
||||||
|
@ -49,14 +49,13 @@ import kotlinx.datetime.format.MonthNames
|
|||||||
import kotlinx.datetime.format.char
|
import kotlinx.datetime.format.char
|
||||||
import kotlinx.datetime.toInstant
|
import kotlinx.datetime.toInstant
|
||||||
import kotlinx.datetime.toLocalDateTime
|
import kotlinx.datetime.toLocalDateTime
|
||||||
import kotlinx.serialization.Contextual
|
|
||||||
import java.util.Locale
|
import java.util.Locale
|
||||||
import kotlin.properties.PropertyDelegateProvider
|
import kotlin.properties.PropertyDelegateProvider
|
||||||
import kotlin.properties.ReadWriteProperty
|
import kotlin.properties.ReadWriteProperty
|
||||||
import kotlin.reflect.KProperty
|
import kotlin.reflect.KProperty
|
||||||
|
|
||||||
typealias PatchSelection = Map<Int, Set<String>>
|
typealias PatchSelection = Map<Int, Set<String>>
|
||||||
typealias Options = Map<Int, Map<String, Map<String, @Contextual Any?>>>
|
typealias Options = Map<Int, Map<String, Map<String, Any?>>>
|
||||||
|
|
||||||
val Context.isDebuggable get() = 0 != applicationInfo.flags and ApplicationInfo.FLAG_DEBUGGABLE
|
val Context.isDebuggable get() = 0 != applicationInfo.flags and ApplicationInfo.FLAG_DEBUGGABLE
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user