Implemented the "tabSelected" and "tabs" properties for the SettingsViewModel view model in the app target.

This commit is contained in:
Javier Cicchelli 2024-10-13 23:59:16 +02:00
parent da37cf60e6
commit 863f681078

View File

@ -0,0 +1,20 @@
//
// SettingsViewModel.swift
// Piper ~ App
//
// Created by Javier Cicchelli on 13/10/2024.
// Copyright © 2024 Röck+Cöde. All rights reserved.
//
import Observation
@Observable
final class SettingsViewModel {
// MARK: Properties
var tabSelected: SettingsItem = .repositories
let tabs: [SettingsItem] = SettingsItem.allCases
}