step 2 - fix linting mistakes

This commit is contained in:
Ethan Pippin 2022-01-10 13:43:20 -07:00
parent ca274bd206
commit e7f3849187
2 changed files with 7 additions and 3 deletions

View File

@ -24,8 +24,10 @@ 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

View File

@ -13,7 +13,9 @@ 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