chore: Lint code

This commit is contained in:
inotia00 2025-01-22 17:18:45 +09:00
parent 63dac0e905
commit 62ca42b269

View File

@ -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
} }