mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
Add ViewModel tests and change avatar data to use existing AvatarViewDataProtocol
This commit is contained in:
@@ -21,9 +21,11 @@ import UIKit
|
||||
final class RoomNotificationSettingsViewController: UIViewController {
|
||||
|
||||
// MARK: - Properties
|
||||
|
||||
private enum Constants {
|
||||
static let linkToAccountSettings = "linkToAccountSettings"
|
||||
}
|
||||
|
||||
// MARK: Outlets
|
||||
|
||||
@IBOutlet private weak var mainTableView: UITableView!
|
||||
@@ -161,7 +163,7 @@ final class RoomNotificationSettingsViewController: UIViewController {
|
||||
}
|
||||
}
|
||||
|
||||
// MARK - UITableViewDataSource
|
||||
// MARK: - UITableViewDataSource
|
||||
extension RoomNotificationSettingsViewController: UITableViewDataSource {
|
||||
|
||||
func numberOfSections(in tableView: UITableView) -> Int {
|
||||
@@ -187,7 +189,7 @@ extension RoomNotificationSettingsViewController: UITableViewDataSource {
|
||||
|
||||
}
|
||||
|
||||
// MARK - UITableViewDelegate
|
||||
// MARK: - UITableViewDelegate
|
||||
extension RoomNotificationSettingsViewController: UITableViewDelegate {
|
||||
|
||||
func tableView(_ tableView: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath) {
|
||||
|
||||
Reference in New Issue
Block a user