TF-1014: add covert bytes to gb and edit UI

This commit is contained in:
ManhNTX
2022-11-14 18:33:33 +07:00
committed by Dat H. Pham
parent b9a8e5deed
commit 3d23f3fa2d
10 changed files with 130 additions and 100 deletions
@@ -80,7 +80,7 @@ class MailboxController extends BaseMailboxController {
final _imagePaths = Get.find<ImagePaths>();
final _responsiveUtils = Get.find<ResponsiveUtils>();
final _uuid = Get.find<Uuid>();
final isMailboxListScrollable = false.obs;
final GetAllMailboxInteractor _getAllMailboxInteractor;
final RefreshAllMailboxInteractor _refreshAllMailboxInteractor;
final CreateNewMailboxInteractor _createNewMailboxInteractor;
@@ -200,6 +200,10 @@ class MailboxController extends BaseMailboxController {
);
}
void handleScrollEnable() {
isMailboxListScrollable.value = mailboxListScrollController.hasClients && mailboxListScrollController.position.maxScrollExtent > 0;
}
void _registerListenerWorker() {
accountIdWorker = ever(mailboxDashBoardController.accountId, (accountId) {
if (accountId is AccountId) {