Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jessesquires committed Apr 12, 2020
1 parent 90a1668 commit 19e3c86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/main.swift
Expand Up @@ -52,12 +52,12 @@ extension Process {
/// - Parameter device: The device for which status bar values should be overridden.
func xcrun_fix_status_bar(_ device: String) {
// 9:41 AM PT on Tuesday January 9, 2007
let magicDate = Date(timeIntervalSince1970: 1_168_364_460)
let time = ISO8601DateFormatter().string(from: magicDate)
let date = Date(timeIntervalSince1970: 1_168_364_460)
let timeText = ISO8601DateFormatter().string(from: date)

self.xcrun(
"simctl", "status_bar", device, "override",
"--time", time,
"--time", timeText,
"--dataNetwork", "wifi",
"--wifiMode", "active",
"--wifiBars", "3",
Expand Down

0 comments on commit 19e3c86

Please sign in to comment.