From ca274bd206332708d44c8c31051feb3bad95f384 Mon Sep 17 00:00:00 2001 From: Ethan Pippin Date: Mon, 10 Jan 2022 13:41:42 -0700 Subject: [PATCH] deliberate linting mistakes --- .../VideoPlayerViewModel/VideoPlayerViewModel.swift | 6 ++---- Swiftfin/App/AppDelegate.swift | 4 +--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Shared/ViewModels/VideoPlayerViewModel/VideoPlayerViewModel.swift b/Shared/ViewModels/VideoPlayerViewModel/VideoPlayerViewModel.swift index 0bba10b5..8cac939e 100644 --- a/Shared/ViewModels/VideoPlayerViewModel/VideoPlayerViewModel.swift +++ b/Shared/ViewModels/VideoPlayerViewModel/VideoPlayerViewModel.swift @@ -24,10 +24,8 @@ final class VideoPlayerViewModel: ViewModel { // Manually kept state because VLCKit doesn't properly set "played" // on the VLCMediaPlayer object - @Published - var playerState: VLCMediaPlayerState = .buffering - @Published - var leftLabelText: String = "--:--" + @Published var playerState: VLCMediaPlayerState = .buffering + @Published var leftLabelText: String = "--:--" @Published var rightLabelText: String = "--:--" @Published diff --git a/Swiftfin/App/AppDelegate.swift b/Swiftfin/App/AppDelegate.swift index aacfa0b9..03af3ce7 100644 --- a/Swiftfin/App/AppDelegate.swift +++ b/Swiftfin/App/AppDelegate.swift @@ -13,9 +13,7 @@ import UIKit class AppDelegate: NSObject, UIApplicationDelegate { static var orientationLock = UIInterfaceOrientationMask.all - func application(_ application: UIApplication, - didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool - { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool { // Lazily initialize datastack _ = SwiftfinStore.dataStack