-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move
Rate Us
, Tell Friends
and Contact Us
to MainSettings module
- Loading branch information
Showing
9 changed files
with
261 additions
and
274 deletions.
There are no files selected for viewing
7 changes: 2 additions & 5 deletions
7
UnstoppableWallet/UnstoppableWallet/Modules/Settings/About/AboutModule.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
import UIKit | ||
|
||
struct AboutModule { | ||
|
||
static func viewController() -> UIViewController { | ||
let service = AboutService( | ||
termsManager: App.shared.termsManager, | ||
systemInfoManager: App.shared.systemInfoManager, | ||
rateAppManager: App.shared.rateAppManager | ||
termsManager: App.shared.termsManager, | ||
systemInfoManager: App.shared.systemInfoManager | ||
) | ||
let releaseNotesService = ReleaseNotesService(appVersionManager: App.shared.appVersionManager) | ||
|
||
let viewModel = AboutViewModel(service: service, releaseNotesService: releaseNotesService) | ||
|
||
return AboutViewController(viewModel: viewModel, urlManager: UrlManager(inApp: true)) | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.