Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mobile-app/lib/models/learn/curriculum_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class SuperBlock {
}

enum BlockType {
lecture,
lesson,
workshop,
lab,
review,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class BlockTemplateViewModel extends BaseViewModel {

(IconData?, Color) getIconData(BlockType type) {
switch (type) {
case BlockType.lecture:
case BlockType.lesson:
return (Icons.menu_book_outlined, FccColors.blue30);
case BlockType.quiz:
return (Icons.help_outline, FccColors.orange30);
Expand Down
2 changes: 1 addition & 1 deletion mobile-app/test/unit/challenge_utils_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void main() {
return Block(
superBlock: SuperBlock(dashedName: 'superblock', name: 'Super Block'),
layout: BlockLayout.challengeList,
type: BlockType.lecture,
type: BlockType.lesson,
name: 'Block 1',
dashedName: 'block-1',
description: [],
Expand Down
Loading