Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Wrong Graded Icon Showing in Mobile Courseware (#912)
Browse files Browse the repository at this point in the history
* Wrong Graded Icon Showing in Mobile Courseware
Jira: https://openedx.atlassian.net/browse/MA-2543
  • Loading branch information
saeedbashir authored Mar 16, 2017
1 parent c53bb06 commit 80b8c8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Source/CourseOutlineItemView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ public class CourseOutlineItemView: UIView {
leadingImageButton.accessibilityTraits = UIAccessibilityTraitImage
titleLabel.setContentHuggingPriority(UILayoutPriorityDefaultLow, forAxis: .Horizontal)

checkmark.image = Icon.Graded.imageWithFontSize(15)
checkmark.tintColor = OEXStyles.sharedStyles().neutralBase()
checkmark.image = Icon.Graded.imageWithFontSize(10)
checkmark.tintColor = OEXStyles.sharedStyles().primaryBaseColor()

isGraded = false
addSubviews()
Expand Down
2 changes: 1 addition & 1 deletion Source/Icon.swift
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public enum Icon {
case .Dropdown:
return FontAwesomeRenderer(icon: .CaretDown)
case .Graded:
return FontAwesomeRenderer(icon: .Check)
return FontAwesomeRenderer(icon: .Edit)
case .Handouts:
return FontAwesomeRenderer(icon: .FileTextO)
case .InternetError:
Expand Down

0 comments on commit 80b8c8a

Please sign in to comment.