Skip to content

Commit

Permalink
Added data upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
adokseo committed Nov 7, 2021
1 parent 40e24bd commit 462260e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions background.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,27 @@
/*---------------------------------------------------------------
>>> BACKGROUND
-----------------------------------------------------------------
# Storage
# Message listener
---------------------------------------------------------------*/

/*---------------------------------------------------------------
# STORAGE
---------------------------------------------------------------*/

chrome.storage.local.get(function (items) {
if (items.background_color && items.background_color.rgb) {
items.background_color = items.background_color.rgb;
}

if (items.text_color && items.text_color.rgb) {
items.text_color = items.text_color.rgb;
}

chrome.storage.local.set(items);
});


/*---------------------------------------------------------------
# MESSAGE LISTENER
---------------------------------------------------------------*/
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "Frame By Frame",
"description": "__MSG_description__",
"version": "2.2.0",
"version": "2.2.1",
"default_locale": "en",
"icons": {
"16": "icons/16.png",
Expand Down

0 comments on commit 462260e

Please sign in to comment.