2023-04-21 16:58:52 +02:00
|
|
|
//
|
|
|
|
// https://mczachurski.dev
|
|
|
|
// Copyright © 2023 Marcin Czachurski and the repository contributors.
|
|
|
|
// Licensed under the Apache License 2.0.
|
|
|
|
//
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
|
2023-10-22 10:09:02 +02:00
|
|
|
class SelectedMenuItemDetails: Identifiable {
|
2023-04-21 16:58:52 +02:00
|
|
|
public let position: Int
|
2023-10-22 10:09:02 +02:00
|
|
|
public var viewMode: MainView.ViewMode
|
|
|
|
|
2023-04-21 16:58:52 +02:00
|
|
|
init(position: Int, viewMode: MainView.ViewMode) {
|
|
|
|
self.position = position
|
2023-10-22 10:09:02 +02:00
|
|
|
self.viewMode = viewMode
|
2023-04-21 16:58:52 +02:00
|
|
|
}
|
|
|
|
}
|