try to fix marking of new items (it's still broken)

This commit is contained in:
2023-09-18 00:08:18 +02:00
parent 0f07fd0a0c
commit feec106b83

View File

@@ -1153,8 +1153,8 @@ impl Trip {
) )
.await?; .await?;
// only mark as new when the trip is already underway // only mark as new when the trip not already underway
let mark_as_new = self.state != TripState::new(); let mark_as_new = self.state < TripState::Active;
for unsynced_item in &unsynced_items { for unsynced_item in &unsynced_items {
let item_id = unsynced_item.to_string(); let item_id = unsynced_item.to_string();