TF-2682 Create always read receipt setting view

This commit is contained in:
DatDang
2024-03-08 10:08:16 +07:00
committed by Dat H. Pham
parent e08ba15d93
commit 0d94f523ab
6 changed files with 132 additions and 1 deletions
@@ -159,4 +159,15 @@ class SettingsUtils {
return const EdgeInsets.only(right: 10, top: 16, bottom: 10, left: 48);
}
}
static EdgeInsets getPaddingAlwaysReadReceiptSetting(
BuildContext context,
ResponsiveUtils responsiveUtils
) {
if (responsiveUtils.isWebDesktop(context)) {
return const EdgeInsets.all(24);
} else {
return EdgeInsets.zero;
}
}
}