Cleaned up various things around the UserSessionsOverviewService

This commit is contained in:
Stefan Ceriu
2022-09-26 20:27:06 +03:00
committed by Stefan Ceriu
parent 841289a16c
commit ff2e6ddfa7
5 changed files with 85 additions and 84 deletions
@@ -68,7 +68,7 @@ struct UserSessionListPreview: View {
var body: some View {
VStack(alignment: .leading, spacing: 0) {
ForEach(userSessionsOverviewService.lastOverviewData.otherSessionsInfo) { userSessionInfo in
ForEach(userSessionsOverviewService.overviewData.otherSessions) { userSessionInfo in
let viewData = UserSessionListItemViewData(userSessionInfo: userSessionInfo)
UserSessionListItem(viewData: viewData, onBackgroundTap: { sessionId in