diff --git a/cmd/fdroidcl/show.go b/cmd/fdroidcl/show.go index 10ede53..ecd85d5 100644 --- a/cmd/fdroidcl/show.go +++ b/cmd/fdroidcl/show.go @@ -30,23 +30,8 @@ func findApps(ids []string) []*fdroidcl.App { } result := make([]*fdroidcl.App, len(ids)) for i, id := range ids { - app, e := apps[id] - if e { - result[i] = app - continue - } - var found *fdroidcl.App - for j := range index.Apps { - app = &index.Apps[j] - if strings.Contains(strings.ToLower(app.ID), id) { - if found != nil { - found = nil - break - } - found = app - } - } - result[i] = found + app, _ := apps[id] + result[i] = app } return result }