fix(block2): sharing sheet overflow + location button feedback/robustness
Reported: sheet overflowed 7.7px with the keyboard up, and 'use my location'
seemed to do nothing.
- Config sheet is now scrollable (SingleChildScrollView) — no keyboard overflow.
- 'Use my location' shows an inline spinner + inline error (the old snackbar was
hidden BEHIND the bottom sheet, so failures were invisible). Message is now
actionable ('check location is on and the permission is granted').
- Provider hardening: request permission first; on permanent denial open app
settings; if location services are off open location settings; time-limit the
fix and fall back to last-known position so it doesn't hang indoors.
Analyzer clean; market tests green.
This commit is contained in:
parent
a85e71dc8d
commit
a72224f95a
9 changed files with 69 additions and 31 deletions
|
|
@ -629,7 +629,7 @@ class _Translations$market$es extends Translations$market$en {
|
|||
@override String sharedCount({required Object n}) => 'Compartidas ${n} semillas';
|
||||
@override String get nothingToShare => 'Marca antes algunas semillas para regalar, cambiar o vender';
|
||||
@override String get useLocation => 'Usar mi ubicación aproximada';
|
||||
@override String get locationFailed => 'No se pudo obtener tu ubicación';
|
||||
@override String get locationFailed => 'No se pudo obtener tu ubicación — comprueba que la ubicación está activada y el permiso concedido';
|
||||
@override String get queued => 'Guardado — las compartiremos cuando tengas conexión';
|
||||
}
|
||||
|
||||
|
|
@ -1320,7 +1320,7 @@ extension on TranslationsEs {
|
|||
'market.sharedCount' => ({required Object n}) => 'Compartidas ${n} semillas',
|
||||
'market.nothingToShare' => 'Marca antes algunas semillas para regalar, cambiar o vender',
|
||||
'market.useLocation' => 'Usar mi ubicación aproximada',
|
||||
'market.locationFailed' => 'No se pudo obtener tu ubicación',
|
||||
'market.locationFailed' => 'No se pudo obtener tu ubicación — comprueba que la ubicación está activada y el permiso concedido',
|
||||
'market.queued' => 'Guardado — las compartiremos cuando tengas conexión',
|
||||
'chat.title' => 'Chat',
|
||||
'chat.hint' => 'Escribe un mensaje…',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue