|
|
@ -133,18 +133,18 @@ export default class FeedFilters extends Vue { |
|
|
|
this.visible = true; |
|
|
|
} |
|
|
|
|
|
|
|
toggleHasVisibleDid() { |
|
|
|
async toggleHasVisibleDid() { |
|
|
|
this.settingChanged = true; |
|
|
|
this.hasVisibleDid = !this.hasVisibleDid; |
|
|
|
db.settings.update(MASTER_SETTINGS_KEY, { |
|
|
|
await db.settings.update(MASTER_SETTINGS_KEY, { |
|
|
|
filterFeedByVisible: this.hasVisibleDid, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
toggleNearby() { |
|
|
|
async toggleNearby() { |
|
|
|
this.settingChanged = true; |
|
|
|
this.isNearby = !this.isNearby; |
|
|
|
db.settings.update(MASTER_SETTINGS_KEY, { |
|
|
|
await db.settings.update(MASTER_SETTINGS_KEY, { |
|
|
|
filterFeedByNearby: this.isNearby, |
|
|
|
}); |
|
|
|
} |
|
|
@ -154,7 +154,7 @@ export default class FeedFilters extends Vue { |
|
|
|
this.settingChanged = true; |
|
|
|
} |
|
|
|
|
|
|
|
db.settings.update(MASTER_SETTINGS_KEY, { |
|
|
|
await db.settings.update(MASTER_SETTINGS_KEY, { |
|
|
|
filterFeedByNearby: false, |
|
|
|
filterFeedByVisible: false, |
|
|
|
}); |
|
|
@ -168,7 +168,7 @@ export default class FeedFilters extends Vue { |
|
|
|
this.settingChanged = true; |
|
|
|
} |
|
|
|
|
|
|
|
db.settings.update(MASTER_SETTINGS_KEY, { |
|
|
|
await db.settings.update(MASTER_SETTINGS_KEY, { |
|
|
|
filterFeedByNearby: true, |
|
|
|
filterFeedByVisible: true, |
|
|
|
}); |
|
|
|