Skip to content

Commit

Permalink
feat: state parameter added in timer class (#42)
Browse files Browse the repository at this point in the history
Co-authored-by: tsyganiimaksym <[email protected]>
  • Loading branch information
1Rinkana and tsyganiimaksym authored Aug 27, 2023
1 parent ede0c53 commit 3b31c4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ internal class TimersMapper {
description = TimerDescription.createOrThrow(description),
ownerId = UserId.createOrThrow(ownerId),
membersCount = Count.createOrThrow(membersCount),
state = grpcStateToSdkState(currentState),
settings = grpcSettingsToSdkSettings(settings),
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public data class Timer (
val description: TimerDescription,
val ownerId: UserId,
val membersCount: Count,
val state: State,
val settings: TimerSettings,
) : TimeMatesEntity() {
/**
Expand Down

0 comments on commit 3b31c4d

Please sign in to comment.