Skip to content

Commit

Permalink
Remove iOS drop support message
Browse files Browse the repository at this point in the history
  • Loading branch information
bgoncal committed Dec 28, 2023
1 parent e9c85b3 commit 6a2f810
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 153 deletions.
12 changes: 0 additions & 12 deletions HomeAssistant.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,6 @@
426740A92B17391000C1DD73 /* Data+Hexadecimal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 426740A72B17390A00C1DD73 /* Data+Hexadecimal.swift */; };
429C72202B28D0EC00BCD558 /* Haptics.swift in Sources */ = {isa = PBXBuildFile; fileRef = 429C721F2B28D0EC00BCD558 /* Haptics.swift */; };
42CA28BB2B1028330093B31A /* SimulatorThreadClientService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 42CA28BA2B1028330093B31A /* SimulatorThreadClientService.swift */; };
42CFCD6A2B1F958A00CCEF4A /* DropSupportMessageViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 42CFCD692B1F958A00CCEF4A /* DropSupportMessageViewController.swift */; };
42DD84132B14ACAB00936F16 /* Color+ColorAsset.swift in Sources */ = {isa = PBXBuildFile; fileRef = 42DD84122B14ACAB00936F16 /* Color+ColorAsset.swift */; };
42DD84162B14D7AC00936F16 /* WebViewExternalBusMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 42DD84142B14D68C00936F16 /* WebViewExternalBusMessage.swift */; };
42DD84192B14D83B00936F16 /* WebViewExternalBusMessageTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 42DD84182B14D83B00936F16 /* WebViewExternalBusMessageTests.swift */; };
Expand Down Expand Up @@ -1636,7 +1635,6 @@
42CA28B52B1022680093B31A /* HAButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HAButton.swift; sourceTree = "<group>"; };
42CA28B72B10279D0093B31A /* ThreadClientService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ThreadClientService.swift; sourceTree = "<group>"; };
42CA28BA2B1028330093B31A /* SimulatorThreadClientService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SimulatorThreadClientService.swift; sourceTree = "<group>"; };
42CFCD692B1F958A00CCEF4A /* DropSupportMessageViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DropSupportMessageViewController.swift; sourceTree = "<group>"; };
42DD84122B14ACAB00936F16 /* Color+ColorAsset.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Color+ColorAsset.swift"; sourceTree = "<group>"; };
42DD84142B14D68C00936F16 /* WebViewExternalBusMessage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WebViewExternalBusMessage.swift; sourceTree = "<group>"; };
42DD84182B14D83B00936F16 /* WebViewExternalBusMessageTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WebViewExternalBusMessageTests.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -3083,14 +3081,6 @@
path = Mocks;
sourceTree = "<group>";
};
42CFCD682B1F956D00CCEF4A /* DropSupport */ = {
isa = PBXGroup;
children = (
42CFCD692B1F958A00CCEF4A /* DropSupportMessageViewController.swift */,
);
path = DropSupport;
sourceTree = "<group>";
};
42DD84172B14D83400936F16 /* Tests */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -3412,7 +3402,6 @@
B657A8E81CA646EB00121384 /* App */ = {
isa = PBXGroup;
children = (
42CFCD682B1F956D00CCEF4A /* DropSupport */,
B657A8E91CA646EB00121384 /* AppDelegate.swift */,
D03D893720E0AF1B00D4F28D /* ClientEvents */,
11A183B22511BCF300CA326A /* LifecycleManager.swift */,
Expand Down Expand Up @@ -5670,7 +5659,6 @@
1178C4E524D5CEB200FDEC3E /* ConnectionURLViewController.swift in Sources */,
B661FC88226D478300E541DD /* OnboardingScanningViewController.swift in Sources */,
11A48D8124CA8ADB0021BDD9 /* NotificationCategory+Observation.swift in Sources */,
42CFCD6A2B1F958A00CCEF4A /* DropSupportMessageViewController.swift in Sources */,
1100D51D2496AECE00B1073C /* PermissionStatusRow.swift in Sources */,
D0B25BD221323CA600678C2C /* ClientEventPayloadViewController.swift in Sources */,
B641BC1F1E2097EF002CCBC1 /* AboutViewController.swift in Sources */,
Expand Down
134 changes: 0 additions & 134 deletions Sources/App/DropSupport/DropSupportMessageViewController.swift

This file was deleted.

7 changes: 0 additions & 7 deletions Sources/App/WebView/WebViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -214,13 +214,6 @@ final class WebViewController: UIViewController, WKNavigationDelegate, WKUIDeleg

styleUI()
updateWebViewForServerValues()

let dropSupportMessageKey = "drop-support-ios-12-13-14"
let dropSupportViewDisplayedPreviously = UserDefaults.standard.bool(forKey: dropSupportMessageKey)
if #unavailable(iOS 14.0), !dropSupportViewDisplayedPreviously {
UserDefaults.standard.set(true, forKey: dropSupportMessageKey)
present(DropSupportMessageViewController(), animated: true)
}
}

public func showSettingsViewController() {
Expand Down

0 comments on commit 6a2f810

Please sign in to comment.