mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
feat: removed the Telemetry module from the Stats since it does not do anything for a long time
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
//
|
||||
// Telemetry.swift
|
||||
// Kit
|
||||
//
|
||||
// Created by Serhiy Mytrovtsiy on 18/06/2023
|
||||
// Using Swift 5.0
|
||||
// Running on macOS 13.4
|
||||
//
|
||||
// Copyright © 2023 Serhiy Mytrovtsiy. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
public class Telemetry {
|
||||
public static let shared = Telemetry()
|
||||
|
||||
public var isEnabled: Bool {
|
||||
get { Store.shared.bool(key: "telemetry", defaultValue: true) }
|
||||
set { Store.shared.set(key: "telemetry", value: newValue) }
|
||||
}
|
||||
|
||||
public init() {}
|
||||
}
|
||||
Reference in New Issue
Block a user