Skip to content

Commit

Permalink
Update AppHelper.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
nookery committed Dec 25, 2023
1 parent 87f35e8 commit c374987
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions TravelMode/Helpers/AppHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ struct AppHelper {
}

static func getApp(_ id: String) -> AppWrapper? {
Logger.app.debug("getApp: \(id)")
var workId = id

if workId.hasPrefix(".") {
Expand All @@ -37,7 +36,7 @@ struct AppHelper {
let apps = getRunningAppList()

for app in apps {
if app.bundleIdentifier == workId {
if app.bundleIdentifier == workId || app.bundleIdentifier == id {
return AppWrapper(app: app)
}
}
Expand Down

0 comments on commit c374987

Please sign in to comment.