mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
opt.: l10n
This commit is contained in:
@@ -63,7 +63,7 @@ class _HomePageState extends State<HomePage>
|
||||
@override
|
||||
void didChangeDependencies() {
|
||||
super.didChangeDependencies();
|
||||
l10n = S.of(context)!;
|
||||
l10n = AppLocalizations.of(context)!;
|
||||
_isLandscape.value =
|
||||
MediaQuery.of(context).orientation == Orientation.landscape;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user