Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Feature - Lock the app until a time has elapsed [NOT MERGE YET] #475

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

cerezo074
Copy link
Contributor

@cerezo074 cerezo074 commented Jan 22, 2018

Is this pull request adding a feature or fixing a bug?
Feature

Does this pull request close an issue? If so, which one?
Nop

What does this pull request do? What does it change?
This pr enables the feature to lock de app after a time selected by the user, design is missing on iOS and Mac OS, even the feature was tested on both platform and works well only Mac platform shows option on UI due to the settings view has more specification regarding lock the app. Waiting for instructions if I have to able the option on UI for iOS app.

@cerezo074 cerezo074 changed the title Feature/37 Feature - Lock the app until a time has elapsed Jan 22, 2018
@cerezo074 cerezo074 changed the title Feature - Lock the app until a time has elapsed Feature - Lock the app until a time has elapsed [NOT MERGE YET] Jan 22, 2018
return false
}

guard interval.isValid else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this guard could be in the same guard statement above, I mean, both return false and nothing between them, so you could do this:

guard let interval = interval, 
    interval.isValid else {
        return false
    }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants