-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed typo - "Stay focus" #597
Conversation
Hey, sorry though a large pr was just merged that needed reviewing for a few weeks, could you possibly refactor your changes on top of the new master branch? |
@sekwah41 Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, will test it tonight!
@@ -50,9 +50,9 @@ const CounterProvider: React.FC = ({ children }) => { | |||
|
|||
const [shouldFullscreen, setShouldFullscreen] = useState(false); | |||
|
|||
const [count, setCount] = useState(config.stayFocus * 60); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To change the stay-focused variable itself, we'd need to load it from both the old naming and the new naming to allow it to transition users over slowly. While its an option its a small price to pay for a value users will never see. |
Variable names have been reverted to pre-49941a16.
@sekwah41 Fixed. |
Sorry for the delay, ill take a look at this tomorrow ^.^ |
In several locations, the app uses the phrase "Stay focus," which should say "Stay focused" (grammatical error). The commit in this pull request resolves the issue.
For clarity, the names of variables and functions that use the words "stay" and "focus" have also been updated.