Feat: Adding Strict Mode#15
Draft
ImLouisxyz wants to merge 2 commits into
Draft
Conversation
Adding a toggle for strict mode vs chill mode: Chill mode - same as original app. Strict mode - no breaks, scanning NFC or QR on block page will only unlock that app for a set duration. Only way to unlock all apps / turn off monitoring is by opening app and scanning NFC or QR. Added some notifications to show how much time is left when their apps are unlocked.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is quite a philosophy shift in the app so no pressure to merge or anything.
Added a toggle for strict mode vs chill mode:
Chill mode - same as original app.
Strict mode - no breaks, scanning NFC or QR on block page will only unlock that app for a set duration. Only way to unlock all apps / turn off monitoring is by opening app and scanning NFC or QR.
Added some notifications to show how much time is left when their apps are unlocked.
Notes for pull request
You won't want to merge this straight away.
I'm not very familiar with Kotlin so used AI to program most of my changes and there seems to be a few flaws.
There are a few things android studio warned about and some un-needed variables and declarations.
More importantly, I had to mess with (remove) the signing code in app/build.gradle.kts to get my android studio to be happy compiling the project.
Also worth noting I have updated the readme a bit for those going straight to my fork in the event this doesn't get merged.