Skip to content

Commit

Permalink
Add isSessionService
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbonnin committed Apr 4, 2024
1 parent 18a1780 commit aac9911
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion shared/data/src/commonMain/graphql/operations.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fragment SessionDetails on Session {
id
}
tags
#isServiceSession
type
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fun SessionDetails.toSession(): Session {
roomId = this.room?.id ?: "",
endsAt = this.endsAt,
startsAt = this.startsAt,
isServiceSession = false //isServiceSession
isServiceSession = this.type == "service"
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ private fun AgendaFilterDrawer(
if (checked) add(SessionFilter(SessionFilter.FilterType.LANGUAGE, french))
}
onFiltersChanged(newSessionFilters)

}
)
val english = "English"
Expand Down

0 comments on commit aac9911

Please sign in to comment.