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:
commit
6d08ea2277
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue