Skip to content

missing "return pwa" at is_pwa. #259

@mcmzero

Description

@mcmzero
inline bool is_pwa(NSString * bundleIdentifier) {
    NSArray * components = [bundleIdentifier componentsSeparatedByString: @"."];
    bool pwa = components.count > 4 && [pwas containsObject: components[2]] && [components[3] isEqual: @"app"];
    if (verbose && pwa) { NSLog(@"PWA: %@", components[2]); }
}
inline bool is_pwa(NSString * bundleIdentifier) {
    NSArray * components = [bundleIdentifier componentsSeparatedByString: @"."];
    bool pwa = components.count > 4 && [pwas containsObject: components[2]] && [components[3] isEqual: @"app"];
    if (verbose && pwa) { NSLog(@"PWA: %@", components[2]); }
    return pwa            // add return code
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions