Skip to content

Commit

Permalink
Merge pull request #40 from allaboutapps/feature/separatorlineviewmod…
Browse files Browse the repository at this point in the history
…el-public

Make separatorlineviewmodel publicy available to type check against it
  • Loading branch information
mpoimer authored Dec 6, 2022
2 parents c09f63b + 4f89120 commit e19038c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DataSource/SeparatedSection/SeparatorLineViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

import UIKit

class SeparatorLineViewModel: Diffable {
public class SeparatorLineViewModel: Diffable {

let diffIdentifier: String
public let diffIdentifier: String
let style: SeparatorStyle

init(diffIdentifier: String, style: SeparatorStyle) {
Expand All @@ -22,7 +22,7 @@ class SeparatorLineViewModel: Diffable {
return Row(self)
}

func isEqualToDiffable(_ other: Diffable?) -> Bool {
public func isEqualToDiffable(_ other: Diffable?) -> Bool {
guard let other = other as? SeparatorLineViewModel else { return false }
return other.style == self.style
}
Expand Down

0 comments on commit e19038c

Please sign in to comment.