Add missing options for RiR values

This commit is contained in:
Roland Geider
2021-05-19 16:03:33 +02:00
parent 980b5e0526
commit be0b1bf157

View File

@@ -27,7 +27,9 @@ part 'setting.g.dart';
@JsonSerializable()
class Setting {
static const POSSIBLE_RIR_VALUES = ['', '1', '1.5', '2', '2.5', '3', '3.5'];
/// Allowed RiR values. This list must be kept in sync with RIR_OPTIONS in the
/// wger server
static const POSSIBLE_RIR_VALUES = ['', '0', '0.5', '1', '1.5', '2', '2.5', '3', '3.5', '4'];
static const DEFAULT_RIR = '';
@JsonKey(required: true)