try to fix marking of new items (it's still broken)
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user