mod: 移除用不上的statusBarHeight

This commit is contained in:
orz12
2024-02-27 21:08:20 +08:00
parent 81da31c91b
commit d472f2316a
2 changed files with 0 additions and 5 deletions

View File

@@ -88,8 +88,6 @@ class _MainAppState extends State<MainApp> with SingleTickerProviderStateMixin {
@override
Widget build(BuildContext context) {
Box localCache = GStrorage.localCache;
double statusBarHeight = MediaQuery.of(context).padding.top;
localCache.put('statusBarHeight', statusBarHeight);
return PopScope(
canPop: false,
onPopInvoked: (bool didPop) async {