feat: edit waypoints

This commit is contained in:
andrekir 2023-02-03 19:07:15 -03:00 committed by Andre K
parent 63ac168fc8
commit ce66a9425d
4 changed files with 124 additions and 55 deletions

View file

@ -53,7 +53,7 @@ interface PacketDao {
@Transaction
fun getDataPacketById(requestId: Int): DataPacket? {
return getDataPackets().firstOrNull { it.id == requestId }
return getDataPackets().lastOrNull { it.id == requestId }
}
@Transaction