add hint for linux

This commit is contained in:
fyears
2024-04-04 17:54:45 +08:00
parent 46cbfcc3aa
commit c472654060
4 changed files with 12 additions and 0 deletions
+9
View File
@@ -550,6 +550,15 @@ export class OnedriveAuthModal extends Modal {
text: val,
});
});
if (Platform.isLinux) {
t("modal_onedriveauth_shortdesc_linux")
.split("\n")
.forEach((val) => {
contentEl.createEl("p", {
text: stringToFragment(val),
});
});
}
const div2 = contentEl.createDiv();
div2.createEl(
"button",