mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
Merge pull request #499 from KarlZeo/fix-ios-padding-check
fix padding check error on ios
This commit is contained in:
@@ -248,7 +248,7 @@ class _MyAppState extends State<MyApp> with WidgetsBindingObserver {
|
||||
MediaQuery.of(context).viewPadding.top <= 0 ||
|
||||
MediaQuery.of(context).viewPadding.top > 50;
|
||||
|
||||
if (isPaddingCheckError) {
|
||||
if (isPaddingCheckError && !Platform.isIOS) {
|
||||
widget = MediaQuery(
|
||||
data: MediaQuery.of(context).copyWith(
|
||||
viewPadding: const EdgeInsets.only(
|
||||
|
Reference in New Issue
Block a user