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