change wording of menu item
This commit is contained in:
parent
4781de54ea
commit
94e4a527fb
@ -72,7 +72,7 @@ export default class NoteSharingPlugin extends Plugin {
|
|||||||
if (file instanceof TFile && file.extension === "md") {
|
if (file instanceof TFile && file.extension === "md") {
|
||||||
menu.addItem((item) => {
|
menu.addItem((item) => {
|
||||||
item.setIcon("paper-plane-glyph");
|
item.setIcon("paper-plane-glyph");
|
||||||
item.setTitle("Share note");
|
item.setTitle("Share note online");
|
||||||
item.onClick(async (evt) => {
|
item.onClick(async (evt) => {
|
||||||
this.shareNote(await this.app.vault.read(file));
|
this.shareNote(await this.app.vault.read(file));
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user