Stop respecting keyboard for UI layout

This commit is contained in:
stopflock committed 2025-10-05 00:24:18 -05:00
1 parent 079448eeeb
commit bbfeda8280
2 files changed
+11 -11

No files matched your search

+4 -1
View File
@@ -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 {
], ],
), ),
), ),
),
); );
} }
} }
+7 -10
View File
@@ -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