Skip to content

Commit

Permalink
Fix issue proginosko#266
Browse files Browse the repository at this point in the history
  • Loading branch information
proginosko committed Nov 10, 2022
1 parent d0c950e commit e674c67
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions options.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,12 @@ function initForm(numSets) {
getElement("moveSetL1").disabled = true;
getElement("moveSetR" + gNumSets).disabled = true;

if (gIsAndroid) {
// Hide sync options (sync storage not supported on Android yet)
getElement("syncOpts1").style.display = "none";
getElement("syncOpts2").style.display = "none";
}

// Set active tab
if (gTabIndex < 0) {
// -ve index = other tab (General, About)
Expand Down Expand Up @@ -542,12 +548,6 @@ function retrieveOptions() {
}
}

if (gIsAndroid) {
// Hide sync options (sync storage not supported on Android yet)
getElement("syncOpts1").style.display = "none";
getElement("syncOpts2").style.display = "none";
}

confirmAccess(options);
}

Expand Down

0 comments on commit e674c67

Please sign in to comment.