-
Notifications
You must be signed in to change notification settings - Fork 149
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
fix: double pin screen #1121
fix: double pin screen #1121
Conversation
Signed-off-by: wadeking98 <[email protected]>
Signed-off-by: wadeking98 <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1121 +/- ##
==========================================
- Coverage 62.09% 62.02% -0.08%
==========================================
Files 178 178
Lines 5733 5738 +5
Branches 1655 1654 -1
==========================================
- Hits 3560 3559 -1
- Misses 2150 2156 +6
Partials 23 23 ☔ View full report in Codecov by Sentry. |
loginAttempt = data | ||
} | ||
}), | ||
loadState<PreferencesState>(LocalStorageKeys.Preferences, (val) => (preferences = val)), |
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.
I had to use the (val) => (thing = val)
pattern here because I needed to mutate the thing
variable inside the generic function but I couldn't use useRef
or useState
because react would complain about hooks being used in the wrong place. There's probably a better way to do this, feel free to mention it if you think of a better alternative
Signed-off-by: wadeking98 <[email protected]>
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.
Just one small thing, otherwise I think this is a great change
Signed-off-by: wadeking98 <[email protected]>
…ent-react-native into fix-double-pin-screen
Signed-off-by: wadeking98 <[email protected]>
Summary of Changes
fixSplashStartup.mov
Related Issues
N/A
Pull Request Checklist
Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.
Signed-off-by
line (we use the DCO GitHub app to enforce this);If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
Pro Tip 🤓
PR template adapted from the Python attrs project.