[CM-901] Updated CreateCatalogViewer method in catalogfactory

This commit is contained in:
PanchamiShenoy 2022-10-06 16:17:30 +05:30 committed by Mark Pospesel
parent d80da8e3b3
commit a019636791
1 changed files with 2 additions and 2 deletions

View File

@ -23,8 +23,8 @@ public enum CatalogFactory {
/// - navigationTitle: title of the catalog
/// - embedInNavigationController: whether the view controller should be embedded in navigationController or not
/// - Returns: A catalog viewer view controller
public static func createCatalogViewer<T: Classification>(
with categories: [T],
public static func createCatalogViewer(
with categories: [Classification],
navigationTitle: String? = nil,
embedInNavigationController: Bool
) -> UIViewController {