onResumed method

  1. @override
void onResumed()
override

Implementation

@override
void onResumed() {
  if (hasPaused) {
    hasPaused = false;
    LogMessage.d("updateRecentChatListHistory", "reload recent chat list");
    getRecentChatList();
    fetchCallLogList();
  }
  getArchivedChatsList();
  if (!KeyboardVisibilityController().isVisible) {
    if (searchFocusNode.hasFocus) {
      searchFocusNode.unfocus();
      Future.delayed(const Duration(milliseconds: 100), () {
        searchFocusNode.requestFocus();
      });
    }
  }
  checkContactSyncPermission();
  // fetchCallLogList();
}