fix: Mappings
fix an issue where generating mappings showed snapchat not installed even though its installed
This commit is contained in:
@@ -185,7 +185,8 @@ class MappingsScreen : SetupScreen() {
|
|||||||
if (isGenerating) return@launch
|
if (isGenerating) return@launch
|
||||||
isGenerating = true
|
isGenerating = true
|
||||||
runCatching {
|
runCatching {
|
||||||
if (context.installationSummary.snapchatInfo == null) {
|
context.mappings.init(context.androidContext)
|
||||||
|
if (context.mappings.getSnapchatPackageInfo() == null) {
|
||||||
throw Exception(context.translation["setup.mappings.generate_failure_no_snapchat"])
|
throw Exception(context.translation["setup.mappings.generate_failure_no_snapchat"])
|
||||||
}
|
}
|
||||||
val warnings = context.mappings.refresh()
|
val warnings = context.mappings.refresh()
|
||||||
|
|||||||
Reference in New Issue
Block a user