chore: unfocus keyboard on click level up notification

This commit is contained in:
ggurdin 2025-06-24 11:13:45 -04:00
parent bbe3ff0d70
commit c84676074e
No known key found for this signature in database
GPG key ID: A01CB41737CBB478

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;