File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
geckoview/features/tabs/presentation/screens Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,11 @@ class ContainerSitesScreen extends HookConsumerWidget {
136136
137137 return ListTile (
138138 leading: UrlIcon ([site], iconSize: 20 ),
139- title: Text (site.host),
139+ title: Text (
140+ site.host,
141+ maxLines: 3 ,
142+ overflow: TextOverflow .ellipsis,
143+ ),
140144 subtitle: Text (site.toString ()),
141145 trailing: IconButton (
142146 onPressed: () {
Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ class AddFeedDialog extends HookConsumerWidget {
5252 ),
5353 controller: textController,
5454 keyboardType: TextInputType .url,
55+ minLines: 1 ,
56+ maxLines: 10 ,
5557 validator: (value) {
5658 return validateUrl (
5759 value,
Original file line number Diff line number Diff line change @@ -226,6 +226,8 @@ class _FeedEditContent extends HookConsumerWidget {
226226 prefixIcon: Icon (Icons .image),
227227 ),
228228 keyboardType: TextInputType .url,
229+ minLines: 1 ,
230+ maxLines: 10 ,
229231 controller: iconUrlTextController,
230232 autovalidateMode: AutovalidateMode .onUserInteraction,
231233 validator: (value) {
@@ -243,6 +245,8 @@ class _FeedEditContent extends HookConsumerWidget {
243245 prefixIcon: Icon (Icons .link),
244246 ),
245247 keyboardType: TextInputType .url,
248+ minLines: 1 ,
249+ maxLines: 10 ,
246250 controller: siteLinkTextController,
247251 autovalidateMode: AutovalidateMode .onUserInteraction,
248252 validator: (value) {
@@ -268,6 +272,8 @@ class _FeedEditContent extends HookConsumerWidget {
268272 prefixIcon: Icon (MdiIcons .rss),
269273 ),
270274 keyboardType: TextInputType .url,
275+ minLines: 1 ,
276+ maxLines: 10 ,
271277 controller: urlTextController,
272278 autovalidateMode: AutovalidateMode .onUserInteraction,
273279 validator: (value) {
You can’t perform that action at this time.
0 commit comments