mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-06 17:44:36 +02:00
chore: Lint code
This commit is contained in:
parent
63dac0e905
commit
62ca42b269
@ -135,7 +135,7 @@ val overlayButtonsPatch = resourcePatch(
|
|||||||
printWarn("Patch option \"Bottom margin\" must be greater than 0, fallback to minimum.")
|
printWarn("Patch option \"Bottom margin\" must be greater than 0, fallback to minimum.")
|
||||||
marginBottom = MARGIN_MINIMUM
|
marginBottom = MARGIN_MINIMUM
|
||||||
}
|
}
|
||||||
} catch (e: NumberFormatException) {
|
} catch (_: Exception) {
|
||||||
printWarn("Patch option \"Bottom margin\" failed validation, fallback to default.")
|
printWarn("Patch option \"Bottom margin\" failed validation, fallback to default.")
|
||||||
marginBottom = MARGIN_DEFAULT
|
marginBottom = MARGIN_DEFAULT
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user