Renames viewmodel

This commit is contained in:
Stuart Breckenridge 2020-07-04 00:10:47 +08:00
parent 8840bf535f
commit 74438de343
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ fileprivate enum ToolbarSheets {
case none, web, twitter, reddit, folder, settings
}
fileprivate class SidebarViewModel: ObservableObject {
fileprivate class SidebarToolbarViewModel: ObservableObject {
@Published var showSheet: Bool = false
@Published var sheetToShow: ToolbarSheets = .none {
@ -28,7 +28,7 @@ fileprivate class SidebarViewModel: ObservableObject {
struct SidebarToolbar: View {
@EnvironmentObject private var appSettings: AppDefaults
@StateObject private var viewModel = SidebarViewModel()
@StateObject private var viewModel = SidebarToolbarViewModel()
var addActionSheetButtons = [