fix: Adjust scroll from clipping children form fields in AlertDialog from showSourcesDialog (#1782)

This commit is contained in:
DMzS 2024-06-26 18:45:55 -04:00 committed by GitHub
parent a99406f0a9
commit bbeb836923
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,6 +27,7 @@ class SManageSources extends BaseViewModel {
return showDialog( return showDialog(
context: context, context: context,
builder: (context) => AlertDialog( builder: (context) => AlertDialog(
scrollable: true,
title: Row( title: Row(
children: <Widget>[ children: <Widget>[
Expanded( Expanded(
@ -39,8 +40,7 @@ class SManageSources extends BaseViewModel {
), ),
], ],
), ),
content: SingleChildScrollView( content: Column(
child: Column(
children: <Widget>[ children: <Widget>[
TextField( TextField(
controller: _orgPatSourceController, controller: _orgPatSourceController,
@ -108,7 +108,6 @@ class SManageSources extends BaseViewModel {
Text(t.settingsView.sourcesUpdateNote), Text(t.settingsView.sourcesUpdateNote),
], ],
), ),
),
actions: <Widget>[ actions: <Widget>[
TextButton( TextButton(
onPressed: () { onPressed: () {