commit
78f0f3ab5f
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "sengi",
|
||||
"version": "1.1.5",
|
||||
"version": "1.1.6",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"main": "main-electron.js",
|
||||
"description": "A multi-account desktop client for Mastodon and Pleroma",
|
||||
|
|
|
@ -73,7 +73,7 @@ export class ManageAccountComponent extends BrowseBase {
|
|||
private checkIfBookmarksAreAvailable() {
|
||||
this.toolsService.getInstanceInfo(this.account.info)
|
||||
.then((instance: InstanceInfo) => {
|
||||
if (instance.major >= 3 && instance.minor >= 1) {
|
||||
if (instance.major == 3 && instance.minor >= 1 || instance.major > 3) {
|
||||
this.isBookmarksAvailable = true;
|
||||
} else {
|
||||
this.isBookmarksAvailable = false;
|
||||
|
|
|
@ -344,7 +344,7 @@ export class ActionBarComponent implements OnInit, OnDestroy {
|
|||
private checkIfBookmarksAreAvailable(account: AccountInfo) {
|
||||
this.toolsService.getInstanceInfo(account)
|
||||
.then((instance: InstanceInfo) => {
|
||||
if (instance.major >= 3 && instance.minor >= 1) {
|
||||
if (instance.major == 3 && instance.minor >= 1 || instance.major > 3) {
|
||||
this.isBookmarksAvailable = true;
|
||||
} else {
|
||||
this.isBookmarksAvailable = false;
|
||||
|
|
Loading…
Reference in New Issue