Sluglet-Team / SlugletApp

A UCSC student resources app
Apache License 2.0
0 stars 1 forks source link

Remove courses #45

Closed Yuzuki-Ishido closed 10 months ago

Yuzuki-Ishido commented 10 months ago

courseBox now takes a coursedata parameter, modifier, hasMapButton, buttonType, onAddClick, and onRemoveClick. if hasMapButton is true, then the map icon will show on the button, if it is false then it will not. buttonType is either ADD or REM, where setting it to add with be the option to add classes, REM will be the option to remove classes.

removeCourse function has been added and written very similarly to addCourse, in StorageServiceImpl

onRemoveClick() function has been added in Schedule Screen View model