Merge pull request #3211 from pangeachat/3112-mobile-keyboard-blocks-levelup-text

chore: unfocus keyboard on click level up notification
This commit is contained in:
ggurdin 2025-06-24 11:14:16 -04:00 committed by GitHub
commit 6d08ea2277
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -176,6 +176,8 @@ class LevelUpBannerState extends State<LevelUpBanner>
Future<void> _toggleDetails() async {
if (!Environment.isStagingEnvironment) return;
FocusScope.of(context).unfocus();
if (mounted) {
setState(() {
_showDetails = !_showDetails;