File tree Expand file tree Collapse file tree
mobile-app/lib/ui/views/learn/challenge Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -306,7 +306,6 @@ class ChallengeView extends StatelessWidget {
306306 ..._panelIconButtons (
307307 model,
308308 challenge,
309- challengesCompleted,
310309 block,
311310 ),
312311 Expanded (
@@ -337,18 +336,7 @@ class ChallengeView extends StatelessWidget {
337336 size: 30 ,
338337 ),
339338 onPressed: model.hasTypedInEditor
340- ? () async {
341- if (model.showPanel &&
342- model.panelType == PanelType .pass) {
343- model.learnService.goToNextChallenge (
344- model.block! .challenges.length,
345- challengesCompleted,
346- challenge,
347- block,
348- );
349- }
350- model.runTests ();
351- }
339+ ? model.runTests
352340 : null ,
353341 splashColor: Colors .transparent,
354342 highlightColor: Colors .transparent,
@@ -556,7 +544,6 @@ class ChallengeView extends StatelessWidget {
556544 List <Widget > _panelIconButtons (
557545 ChallengeViewModel model,
558546 Challenge challenge,
559- int challengesCompleted,
560547 Block block,
561548 ) {
562549 return [
You can’t perform that action at this time.
0 commit comments