mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 07:28:28 +02:00
Removed unnecessary comments from RiotSwiftUI templates, fixed StateStoreViewModel typealias formatting
This commit is contained in:
committed by
Stefan Ceriu
parent
43c28d23b7
commit
fc2fdc8ae7
@@ -18,15 +18,9 @@ import Combine
|
||||
import Foundation
|
||||
|
||||
class TemplateUserProfileService: TemplateUserProfileServiceProtocol {
|
||||
// MARK: - Properties
|
||||
|
||||
// MARK: Private
|
||||
|
||||
private let session: MXSession
|
||||
private var listenerReference: Any?
|
||||
|
||||
// MARK: Public
|
||||
|
||||
var userId: String {
|
||||
session.myUser.userId
|
||||
}
|
||||
@@ -41,8 +35,6 @@ class TemplateUserProfileService: TemplateUserProfileServiceProtocol {
|
||||
|
||||
private(set) var presenceSubject: CurrentValueSubject<TemplateUserProfilePresence, Never>
|
||||
|
||||
// MARK: - Setup
|
||||
|
||||
init(session: MXSession) {
|
||||
self.session = session
|
||||
presenceSubject = CurrentValueSubject(TemplateUserProfilePresence(mxPresence: session.myUser.presence))
|
||||
|
||||
Reference in New Issue
Block a user