diff options
Diffstat (limited to 'lib/model/motive_selection/mock_badge_motive_selection.dart')
-rw-r--r-- | lib/model/motive_selection/mock_badge_motive_selection.dart | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/model/motive_selection/mock_badge_motive_selection.dart b/lib/model/motive_selection/mock_badge_motive_selection.dart index 6a4cff0..572da2a 100644 --- a/lib/model/motive_selection/mock_badge_motive_selection.dart +++ b/lib/model/motive_selection/mock_badge_motive_selection.dart @@ -27,7 +27,6 @@ class MockBadgeMotiveSelection implements BadgeMotiveSelection { @override Future<BadgeMotive> getCurrentMotive() async { - templates.add(BadgeMotive(templates.length, "foo")); return _currentMotive; } @@ -38,7 +37,7 @@ class MockBadgeMotiveSelection implements BadgeMotiveSelection { @override Future<void> setCurrentMotive(BadgeMotive motive) async { - return await Future.delayed(Duration(milliseconds: 100), () { + return await Future.delayed(Duration(milliseconds: 300), () { _currentMotive = motive; }); } |