Merge pull request #4921 from pangeachat/center-input-suggestion

Center input bar suggestion text
This commit is contained in:
ggurdin 2025-12-22 13:47:26 -05:00 committed by GitHub
commit 7534e81d12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -523,14 +523,20 @@ class InputBar extends StatelessWidget {
// decoration: decoration!,
// Pangea#
decoration: decoration.copyWith(
hint: ShrinkableText(
text: choreographer.itController.open.value
? L10n.of(context).buildTranslation
: _defaultHintText(context),
maxWidth: double.infinity,
style: Theme.of(context).textTheme.bodyLarge?.copyWith(
color: Theme.of(context).disabledColor,
),
// #Pangea
// hint: ShrinkableText(
hint: SizedBox(
height: 24,
child: ShrinkableText(
// Pangea#
text: choreographer.itController.open.value
? L10n.of(context).buildTranslation
: _defaultHintText(context),
maxWidth: double.infinity,
style: Theme.of(context).textTheme.bodyLarge?.copyWith(
color: Theme.of(context).disabledColor,
),
),
),
),
onChanged: (text) {