From ea5706161de0e2693f5d70c0e5fc4f0b15c623c1 Mon Sep 17 00:00:00 2001 From: Ming Ming Date: Sat, 3 Jul 2021 03:47:01 +0800 Subject: [PATCH] Fix missing tooltip --- lib/widget/account_picker_dialog.dart | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/widget/account_picker_dialog.dart b/lib/widget/account_picker_dialog.dart index fbde517a..407f37eb 100644 --- a/lib/widget/account_picker_dialog.dart +++ b/lib/widget/account_picker_dialog.dart @@ -38,11 +38,13 @@ class _AccountPickerDialogState extends State { title: Text(a.url), subtitle: Text(a.username), trailing: IconButton( - icon: Icon( - Icons.close, - color: AppTheme.getSecondaryTextColor(context), - ), - onPressed: () => _onRemoveItemPressed(a)), + icon: Icon( + Icons.close, + color: AppTheme.getSecondaryTextColor(context), + ), + tooltip: AppLocalizations.of(context).deleteTooltip, + onPressed: () => _onRemoveItemPressed(a), + ), ), )) .toList();