Skip to content

Commit

Permalink
fix: localstorage size (#1203)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgithubprofile authored Feb 21, 2024
1 parent 7b85037 commit 9dbf853
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 3 deletions.
1 change: 1 addition & 0 deletions css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,7 @@
}
.share_common .sharepanel > div:nth-last-child(1) {
margin-right: 0;
margin-left: auto;
}
.share_common .sharepanel > div .count {
cursor: pointer;
Expand Down
1 change: 1 addition & 0 deletions css/common.less
Original file line number Diff line number Diff line change
Expand Up @@ -1216,6 +1216,7 @@

&:nth-last-child(1){
margin-right: 0;
margin-left: auto;
}


Expand Down
29 changes: 28 additions & 1 deletion js/satolist.js
Original file line number Diff line number Diff line change
Expand Up @@ -9571,6 +9571,16 @@ Platform = function (app, listofnodes) {
if (attr.exported) {
var alias = new kits.alias[attr.type]()

if (attr.type == 'userInfo'){
attr.exported.blocking = []
attr.exported.subscribers = []
attr.exported.subscribes = []

attr.exported.blocking_loaded = false
attr.exported.subscribers_loaded = false
attr.exported.subscribes_loaded = false
}

alias._import(attr.exported)

imp[i] = alias
Expand Down Expand Up @@ -9606,8 +9616,25 @@ Platform = function (app, listofnodes) {
if (!attr) return;

if (attr.export) {

var exported = attr.export()

if (attr.type == 'userInfo' && exported){
exported.blocking = []
exported.blocking_loaded = false

exported.subscribers = []
exported.subscribers_loaded = false

exported.subscribes = []
exported.subscribes_loaded = false

exported.recomendedSubscribes = []

}

l[i] = {
exported: attr.export(),
exported: exported,
type: attr.type
}
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"project": "Bastyon",

"version": "0.8.81",
"versionsuffix": "0",
"versionsuffix": "1",
"cordovaversion": "1.8.81",
"cordovaversioncode": "180810",
"cordovaversioncode": "180811",

"description": "Bastyon desktop application",
"author": "Pocketnet Community <[email protected]>",
Expand Down

0 comments on commit 9dbf853

Please sign in to comment.