Get rid of FPS indicator

This commit is contained in:
Nathan Mattes 2023-09-21 13:12:19 +02:00
parent c2ceb0aedf
commit a74de8fba1
3 changed files with 0 additions and 22 deletions

View File

@ -37,15 +37,6 @@
"version": "1.0.17" "version": "1.0.17"
} }
}, },
{
"package": "FPSIndicator",
"repositoryURL": "https://github.com/MainasuK/FPSIndicator.git",
"state": {
"branch": null,
"revision": "6e15028644b486e258652ef8a53b60ad7af8663b",
"version": "1.2.0"
}
},
{ {
"package": "Fuzi", "package": "Fuzi",
"repositoryURL": "https://github.com/cezheng/Fuzi.git", "repositoryURL": "https://github.com/cezheng/Fuzi.git",

View File

@ -13,10 +13,6 @@ import MastodonExtension
import MastodonUI import MastodonUI
import MastodonSDK import MastodonSDK
#if PROFILE
import FPSIndicator
#endif
class SceneDelegate: UIResponder, UIWindowSceneDelegate { class SceneDelegate: UIResponder, UIWindowSceneDelegate {
var disposeBag = Set<AnyCancellable>() var disposeBag = Set<AnyCancellable>()
@ -25,10 +21,6 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
var window: UIWindow? var window: UIWindow?
var coordinator: SceneCoordinator? var coordinator: SceneCoordinator?
#if PROFILE
var fpsIndicator: FPSIndicator?
#endif
var savedShortCutItem: UIApplicationShortcutItem? var savedShortCutItem: UIApplicationShortcutItem?
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
@ -99,10 +91,6 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
#endif #endif
} }
.store(in: &observations) .store(in: &observations)
#if PROFILE
fpsIndicator = FPSIndicator(windowScene: windowScene)
#endif
} }
func sceneDidBecomeActive(_ scene: UIScene) { func sceneDidBecomeActive(_ scene: UIScene) {

View File

@ -45,7 +45,6 @@ let package = Package(
.package(url: "https://github.com/kean/Nuke-FLAnimatedImage-Plugin.git", from: "8.0.0"), .package(url: "https://github.com/kean/Nuke-FLAnimatedImage-Plugin.git", from: "8.0.0"),
.package(url: "https://github.com/kean/Nuke.git", from: "10.3.1"), .package(url: "https://github.com/kean/Nuke.git", from: "10.3.1"),
.package(url: "https://github.com/kishikawakatsumi/KeychainAccess.git", from: "4.2.2"), .package(url: "https://github.com/kishikawakatsumi/KeychainAccess.git", from: "4.2.2"),
.package(url: "https://github.com/MainasuK/FPSIndicator.git", from: "1.0.0"),
.package(url: "https://github.com/slackhq/PanModal.git", from: "1.2.7"), .package(url: "https://github.com/slackhq/PanModal.git", from: "1.2.7"),
.package(url: "https://github.com/TimOliver/TOCropViewController.git", from: "2.6.1"), .package(url: "https://github.com/TimOliver/TOCropViewController.git", from: "2.6.1"),
.package(url: "https://github.com/TwidereProject/MetaTextKit.git", exact: "2.2.5"), .package(url: "https://github.com/TwidereProject/MetaTextKit.git", exact: "2.2.5"),