Merge pull request #57 from traccar/codex/fix-renderflex-overflow-exception

Fix dialog overflow issue
This commit is contained in:
Anton Tananaev 2025-07-10 20:29:25 -07:00 committed by GitHub
commit 0b447be286
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 0 deletions

View file

@ -52,6 +52,7 @@ class _MainScreenState extends State<MainScreen> {
showDialog(
context: context,
builder: (_) => AlertDialog(
scrollable: true,
content: Text(AppLocalizations.of(context)!.optimizationMessage),
actions: [
TextButton(

View file

@ -14,6 +14,7 @@ class PasswordService {
result = await showDialog<bool>(
context: context,
builder: (context) => AlertDialog(
scrollable: true,
content: TextField(
controller: controller,
autofocus: true,

View file

@ -41,6 +41,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
final result = await showDialog<String>(
context: context,
builder: (context) => AlertDialog(
scrollable: true,
title: Text(title),
content: TextField(
controller: controller,
@ -89,6 +90,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
final result = await showDialog<bool>(
context: context,
builder: (context) => AlertDialog(
scrollable: true,
content: TextField(
controller: controller,
decoration: InputDecoration(labelText: AppLocalizations.of(context)!.passwordLabel),