Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Hide the tabs send button until we have updated the devices (#2236)
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo authored and bluemarvin committed Nov 12, 2019
1 parent 25619d6 commit b58aec3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public void releaseWidget() {
@Override
public void show(int aShowFlags) {
if (mAccounts.isSignedIn()) {
mBinding.footerLayout.setFooterButtonVisibility(View.GONE);
mAccounts.refreshDevicesAsync();
mSendTabsDialogBinding.setIsSyncing(true);

Expand Down Expand Up @@ -182,6 +183,7 @@ public void onDevicesUpdate(@NotNull ConstellationState constellationState) {
}

if (!mDevicesList.isEmpty()) {
mBinding.footerLayout.setFooterButtonVisibility(View.VISIBLE);
mSendTabsDialogBinding.devicesList.setChecked(0, false);
}

Expand Down

0 comments on commit b58aec3

Please sign in to comment.