Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AB-92 add settings data to control center data #64

Merged
merged 1 commit into from May 23, 2018
Merged
Changes from all commits
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

AB-92 add settings data to control center data
  • Loading branch information
ravjit-cliqz committed May 16, 2018
commit a773d192492f9aad6889e28ffd737c6598d41b30
@@ -615,14 +615,15 @@ function onMessageHandler(request, sender, callback) {
} else if (name === 'getAndroidPanelData') {
utils.getActiveTab((tab) => {
// we are pushing all the possible data for now
// TODO: should we reduce this to the bare minimum?
// TODO: Looks like only summary and settings is enough. We should remove blocking and panel after confirming with ghosterians
chrome.runtime.sendMessage({
target: 'ANDROID_BROWSER',
action: 'panelData',
payload: {
panel: panelData.get('panel', tab),
summary: panelData.get('summary', tab),
blocking: panelData.get('blocking', tab)
blocking: panelData.get('blocking', tab),
settings: panelData.get('settings')
}
});
});
ProTip! Use n and p to navigate between commits in a pull request.