Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.

Commit

Permalink
Remove TODO from implemented method
Browse files Browse the repository at this point in the history
  • Loading branch information
Sporarum committed Jun 5, 2020
1 parent c733454 commit c96c53e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/ch/epfl/sdp/ui/maps/MapActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ class MapActivity : MapViewBaseActivity(), OnMapReadyCallback, MapboxMap.OnMapLo
fun startOrPauseMissionButton(v: View) {
if (Drone.isFlyingLiveData.value!!) {
if (Drone.isMissionPausedLiveData.value!!) Drone.resumeMission() else Drone.pauseMission()
} else if (!searchAreaBuilder.isComplete()) { //TODO add missionBuilder isComplete method
} else if (!searchAreaBuilder.isComplete()) {
Toast.makeText(this, getString(R.string.not_enough_waypoints_message), Toast.LENGTH_SHORT).show()
} else {
val mission = missionBuilder.build()
Expand Down

0 comments on commit c96c53e

Please sign in to comment.