reworked startup, changed order of checks. Updated isStartup function… #11
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.
Changed isStartup in misc.swift. The caution prompts are needed to complete startup in part8main, isStartup will return true, but not click caution until part8. Moved rw detection above closeNews (closeNews was actually clearing rw before rw check, why it never worked). Removed the check for account manager in part1setup so the failed login and tos checks can run there and not create 42 checks in logs.
Description
changes made to misc.swift. added a variable with default value of 0. only clicks warning sign when value is 1.
Realdevicemap_uicontroltests.swift - removed check for account manager in part1setup.
Moved screen check for age verification and login to first 2 checks. Next check is failed login. then tos check. Added a delay between these checks so they do not run more than necessary.
Moved closeNews to click after check for rw, closeNews has been blindly closing rw and thats why rw detection has never worked.
isStartup will not close the caution prompt until part8main. It is the only thing that sets isStarted to true in the entire program (part8main). Removed all tos checks from inside part8main because those checks will never exist there (tos comes before caution, can't get to caution without clearing tos, can't get inside code block where tos checks were without clearing caution sign)
Motivation and Context
see above
How Has This Been Tested?
with devices
a dark cold room with dim lights and glowing eyes. Mac OS, iPhone se.
Screenshots (if appropriate):
Types of changes
Checklist: