Nextcloud Login refactoring
This commit is contained in:
@@ -8,10 +8,10 @@
|
||||
import Foundation
|
||||
import SwiftUI
|
||||
|
||||
struct Category: Codable, Identifiable, Hashable {
|
||||
struct CookbookApiCategory: Codable, Identifiable, Hashable {
|
||||
var id: String { name }
|
||||
let name: String
|
||||
let recipe_count: Int
|
||||
var name: String
|
||||
var recipe_count: Int
|
||||
|
||||
private enum CodingKeys: String, CodingKey {
|
||||
case name, recipe_count
|
||||
|
||||
Reference in New Issue
Block a user