Schedule-ICTIS/Schedule ICTIS/Settings/ScheduleGroupSettings.swift
Vladimir Dubovik 9bfd85ec3d Commit
2025-03-13 10:44:28 +03:00

47 lines
1.4 KiB
Swift

//
// ScheduleGroupSettings.swift
// Schedule ICTIS
//
// Created by Mironov Egor on 25.02.2025.
//
import SwiftUI
struct ScheduleGroupSettings: View {
@ObservedObject var vm: ScheduleViewModel
var body: some View {
VStack {
NavigationLink(destination: FavGroupsView(vm: vm)) {
HStack {
Text("Избранное расписание")
.font(.custom("Montserrat-Medium", fixedSize: 17))
.foregroundColor(.black)
Spacer()
Image("arrowRight")
}
.padding(.horizontal)
.padding(.top, 12)
.padding(.bottom, 3)
}
Rectangle()
.foregroundColor(Color("customGray1"))
.frame(height: 1)
.padding(.horizontal)
NavigationLink(destination: FavVPKView(vm: vm)) {
HStack {
Text("ВПК")
.font(.custom("Montserrat-Medium", fixedSize: 17))
.foregroundColor(.black)
Spacer()
Image("arrowRight")
}
.padding(.horizontal)
.padding(.top, 3)
.padding(.bottom, 12)
}
}
.background(Color.white)
.cornerRadius(20)
}
}