TF-2461 Fix warning when run dart analyze

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2024-01-26 08:35:07 +07:00
committed by Dat H. Pham
parent 72dc821963
commit 3878400fbf
4 changed files with 13 additions and 11 deletions
@@ -64,7 +64,7 @@ class AvatarBuilder {
Widget build() {
return InkWell(
onTap: () => _onTapAvatarActionClick != null ? _onTapAvatarActionClick!.call() : null,
onTap: _onTapAvatarActionClick,
onTapDown: (detail) {
if (_onTapAvatarActionWithPositionClick != null && _context != null) {
final screenSize = MediaQuery.of(_context!).size;