mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-07 03:50:08 +02:00
👌 Fix warnings
This commit is contained in:
@ -145,7 +145,7 @@ extension MainMenu {
|
||||
Schedule a request to fetch the PHP version every 60 seconds.
|
||||
*/
|
||||
private func startSharedTimer() {
|
||||
Task { @MainActor [self] in
|
||||
DispatchQueue.main.async { [self] in
|
||||
App.shared.timer = Timer.scheduledTimer(
|
||||
timeInterval: 60,
|
||||
target: self,
|
||||
|
@ -12,9 +12,9 @@ extension MainMenu {
|
||||
|
||||
// MARK: - PhpSwitcherDelegate
|
||||
|
||||
func switcherDidStartSwitching(to version: String) {}
|
||||
nonisolated func switcherDidStartSwitching(to version: String) {}
|
||||
|
||||
func switcherDidCompleteSwitch(to version: String) {
|
||||
nonisolated func switcherDidCompleteSwitch(to version: String) {
|
||||
// Mark as no longer busy
|
||||
PhpEnv.shared.isBusy = false
|
||||
|
||||
|
Reference in New Issue
Block a user