mirror of
https://github.com/yangcht/obsidian-things-toolkit.git
synced 2026-07-22 07:45:44 +00:00
Fix API usage
This commit is contained in:
parent
5a8a72c0bc
commit
e557c7210b
5 changed files with 8 additions and 6 deletions
|
|
@ -2,7 +2,7 @@
|
|||
"id": "things-toolkit",
|
||||
"name": "Things Toolkit",
|
||||
"description": "Sync Things3 completions into daily notes with review stats and privacy-aware macOS access.",
|
||||
"version": "1.6.5",
|
||||
"version": "1.6.6",
|
||||
"author": "yangcht",
|
||||
"authorUrl": "https://github.com/yangcht",
|
||||
"isDesktopOnly": false,
|
||||
|
|
|
|||
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "obsidian-things-toolkit-plugin",
|
||||
"version": "1.6.5",
|
||||
"version": "1.6.6",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "obsidian-things-toolkit-plugin",
|
||||
"version": "1.6.5",
|
||||
"version": "1.6.6",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@obsidian-typings/obsidian-public-latest": "6.16.0",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "obsidian-things-toolkit-plugin",
|
||||
"version": "1.6.5",
|
||||
"version": "1.6.6",
|
||||
"type": "module",
|
||||
"description": "Sync Things3 completions into Obsidian daily notes with review stats",
|
||||
"author": "yangcht",
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Platform } from "obsidian";
|
||||
import type { App, TFile } from "obsidian";
|
||||
|
||||
import { getEditorForFile } from "./fileUtils";
|
||||
|
|
@ -37,7 +38,7 @@ export function groupBy<T>(
|
|||
}
|
||||
|
||||
export function isMacOS(): boolean {
|
||||
return /Mac|iPhone|iPad|iPod/.test(navigator.platform);
|
||||
return Platform.isMacOS;
|
||||
}
|
||||
|
||||
export async function updateSection(
|
||||
|
|
|
|||
|
|
@ -10,5 +10,6 @@
|
|||
"1.6.2": "1.13.1",
|
||||
"1.6.3": "1.13.1",
|
||||
"1.6.4": "1.13.1",
|
||||
"1.6.5": "1.13.1"
|
||||
"1.6.5": "1.13.1",
|
||||
"1.6.6": "1.13.1"
|
||||
}
|
||||
Loading…
Reference in a new issue