Skip to content

Commit e4fb811

Browse files
committed
Condense a couple lines
1 parent e454136 commit e4fb811

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

lib/project_view/control_row/control_row.dart

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,8 @@ class RunningProcess with WindowListener {
122122
_javaPath,
123123
);
124124
final StartupConfigModel startupConfigModel = configFile.modelOrProblem.match(
125-
(FileConfigFileLoadProblem l) {
126-
throw FatalConfigProblemException(problem: l);
127-
},
128-
(BaseConfigModel r) {
129-
return r as StartupConfigModel;
130-
},
125+
(FileConfigFileLoadProblem l) => throw FatalConfigProblemException(problem: l),
126+
(BaseConfigModel r) => r as StartupConfigModel,
131127
);
132128

133129
//Option: Mods Path

0 commit comments

Comments
 (0)