Skip to content

Commit

Permalink
Removed delayed task for leave chain on Android when offline
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyBarabash committed Sep 16, 2021
1 parent 2419107 commit 243e3b2
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -999,9 +999,6 @@ private void startLeaveSyncChainOperations() {
mShowCategoriesButton.setVisibility(View.GONE);
mAddDeviceButton.setVisibility(View.GONE);

PostTask.postDelayedTask(
UiThreadTaskTraits.USER_VISIBLE, () -> leaveSyncChainComplete(), 5 * 1000);

ViewGroup devicesUiGroup = (ViewGroup) getView().findViewById(R.id.brave_sync_devices);
if (devicesUiGroup != null) {
devicesUiGroup.removeAllViews();
Expand Down

0 comments on commit 243e3b2

Please sign in to comment.