mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-09-30 21:19:42 +02:00
Stop respecting keyboard for UI layout
This commit is contained in:
1 parent
079448eeeb
commit
bbfeda8280
2 files changed
+11
-11
No files matched your search
@@ -477,7 +477,9 @@ class _HomeScreenState extends State<HomeScreen> with TickerProviderStateMixin {
|
|||||||
providers: [
|
providers: [
|
||||||
ChangeNotifierProvider<CameraProviderWithCache>(create: (_) => CameraProviderWithCache()),
|
ChangeNotifierProvider<CameraProviderWithCache>(create: (_) => CameraProviderWithCache()),
|
||||||
],
|
],
|
||||||
child: Scaffold(
|
child: MediaQuery(
|
||||||
|
data: MediaQuery.of(context).copyWith(viewInsets: EdgeInsets.zero),
|
||||||
|
child: Scaffold(
|
||||||
key: _scaffoldKey,
|
key: _scaffoldKey,
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
automaticallyImplyLeading: false, // Disable automatic back button
|
automaticallyImplyLeading: false, // Disable automatic back button
|
||||||
@@ -606,6 +608,7 @@ class _HomeScreenState extends State<HomeScreen> with TickerProviderStateMixin {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -525,16 +525,13 @@ class MapViewState extends State<MapView> {
|
|||||||
),
|
),
|
||||||
|
|
||||||
// All map overlays (mode indicator, zoom, attribution, add pin)
|
// All map overlays (mode indicator, zoom, attribution, add pin)
|
||||||
MediaQuery(
|
MapOverlays(
|
||||||
data: MediaQuery.of(context).copyWith(viewInsets: EdgeInsets.zero),
|
mapController: _controller.mapController,
|
||||||
child: MapOverlays(
|
uploadMode: appState.uploadMode,
|
||||||
mapController: _controller.mapController,
|
session: session,
|
||||||
uploadMode: appState.uploadMode,
|
editSession: editSession,
|
||||||
session: session,
|
attribution: appState.selectedTileType?.attribution,
|
||||||
editSession: editSession,
|
onSearchPressed: widget.onSearchPressed,
|
||||||
attribution: appState.selectedTileType?.attribution,
|
|
||||||
onSearchPressed: widget.onSearchPressed,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
|
|
||||||
// Network status indicator (top-left) - conditionally shown
|
// Network status indicator (top-left) - conditionally shown
|
||||||
|
|||||||
Reference in new issue
Block a user