dart format
This commit is contained in:
@@ -8,11 +8,20 @@ class TimetableNameModes {
|
||||
static DropdownDisplay getDisplayOptions(TimetableNameMode mode) {
|
||||
switch (mode) {
|
||||
case TimetableNameMode.name:
|
||||
return DropdownDisplay(icon: Icons.device_unknown_outlined, displayName: 'Name');
|
||||
return DropdownDisplay(
|
||||
icon: Icons.device_unknown_outlined,
|
||||
displayName: 'Name',
|
||||
);
|
||||
case TimetableNameMode.longName:
|
||||
return DropdownDisplay(icon: Icons.perm_device_info_outlined, displayName: 'Langname');
|
||||
return DropdownDisplay(
|
||||
icon: Icons.perm_device_info_outlined,
|
||||
displayName: 'Langname',
|
||||
);
|
||||
case TimetableNameMode.alternateName:
|
||||
return DropdownDisplay(icon: Icons.on_device_training_outlined, displayName: 'Kurzform');
|
||||
return DropdownDisplay(
|
||||
icon: Icons.on_device_training_outlined,
|
||||
displayName: 'Kurzform',
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user