Skip to content

Commit

Permalink
fix: obsolete conditional access and incorrect constamt
Browse files Browse the repository at this point in the history
  • Loading branch information
castdrian committed Dec 3, 2024
1 parent fbdbbdf commit 877c76f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<key>sharemenuext.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>8</integer>
<integer>2</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
Expand Down
4 changes: 2 additions & 2 deletions ishare/App.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, SPUUpdaterDelegate {
static var shared: AppDelegate { sharedInstance }

var recordGif = false
let screenRecorder = ScreenRecorder()
var screenRecorder = ScreenRecorder()
var updaterController: SPUStandardUpdaterController!

func application(_: NSApplication, open urls: [URL]) {
Expand Down Expand Up @@ -106,7 +106,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, SPUUpdaterDelegate {
let recorder = screenRecorder

Task {
recorder?.stop { result in
recorder.stop { result in
Task { @MainActor in
switch result {
case let .success(url):
Expand Down

0 comments on commit 877c76f

Please sign in to comment.