feat: add clear search box fix: close text size
This commit is contained in:
@@ -39,11 +39,21 @@ class _SlideConfirmState extends State<SlideConfirm> {
|
||||
alignment: Alignment.centerLeft,
|
||||
children: [
|
||||
Center(
|
||||
child: Text(
|
||||
_confirmed ? l10n.closingTab : l10n.slideToConfirmClosing,
|
||||
style: TextStyle(
|
||||
color: scheme.error,
|
||||
fontWeight: FontWeight.w700,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: size),
|
||||
child: FittedBox(
|
||||
fit: BoxFit.scaleDown,
|
||||
child: Text(
|
||||
_confirmed
|
||||
? l10n.closingTab
|
||||
: l10n.slideToConfirmClosing,
|
||||
maxLines: 1,
|
||||
style: TextStyle(
|
||||
color: scheme.error,
|
||||
fontSize: 13,
|
||||
fontWeight: FontWeight.w700,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user