minor fix

This commit is contained in:
Thibault Deckers 2025-02-06 14:56:10 +01:00
parent f143f86732
commit 670b4b1830

View file

@ -152,10 +152,8 @@ class _CollectionAppBarState extends State<CollectionAppBar> with SingleTickerPr
@override @override
void didChangeMetrics() { void didChangeMetrics() {
// when top padding changes // when top padding or text scale factor change
_updateStatusBarHeight(); WidgetsBinding.instance.addPostFrameCallback((_) => _updateStatusBarHeight());
// when text scale factor changes
_updateAppBarHeight();
} }
@override @override