mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 03:06:37 +00:00
Fixed unused declaration warnings
This commit is contained in:
@@ -144,8 +144,6 @@ struct SpacesScreen_Previews: PreviewProvider, TestablePreview {
|
||||
}
|
||||
|
||||
static func makeViewModel(isEmpty: Bool = false) -> SpacesScreenViewModel {
|
||||
let appSettings = AppSettings.volatile()
|
||||
|
||||
let clientProxy = ClientProxyMock(.init())
|
||||
clientProxy.spaceService = SpaceServiceProxyMock(.init(topLevelSpaces: isEmpty ? [] : .mockJoinedSpaces))
|
||||
|
||||
|
||||
@@ -22,8 +22,6 @@ final class SpacesScreenViewModelTests {
|
||||
}
|
||||
|
||||
init() {
|
||||
let appSettings = AppSettings.volatile()
|
||||
|
||||
let clientProxy = ClientProxyMock(.init())
|
||||
let userSession = UserSessionMock(.init(clientProxy: clientProxy))
|
||||
|
||||
|
||||
@@ -20,8 +20,6 @@ struct StartChatScreenViewModelTests {
|
||||
}
|
||||
|
||||
init() {
|
||||
let appSettings = AppSettings.volatile()
|
||||
|
||||
clientProxy = .init(.init(userID: ""))
|
||||
userDiscoveryService = UserDiscoveryServiceMock()
|
||||
userDiscoveryService.searchProfilesWithReturnValue = .success([])
|
||||
|
||||
Reference in New Issue
Block a user