Closed ghost closed 1 year ago
Checks if the unit values are valid (standard, metric, imperial). If not, default to metric.
As pointed out in the code comment, this should be checked before the configuration is even saved to inform the user of invalid input.
Checks if the unit values are valid (standard, metric, imperial). If not, default to metric.
As pointed out in the code comment, this should be checked before the configuration is even saved to inform the user of invalid input.