mirror of
https://github.com/shumadrid/obsidian-git-changelog.git
synced 2026-07-22 05:42:16 +00:00
17 lines
517 B
TypeScript
17 lines
517 B
TypeScript
import { SettingComponent } from 'settings/components/setting.ts';
|
|
|
|
export class FileChangesNotificationThreshold extends SettingComponent {
|
|
public display(): void {
|
|
this.createSetting()
|
|
.setName('Custom threshold for file changes alert')
|
|
.addText((text) => {
|
|
this.settingTab.bind(text, 'filesChangesWarningThreshold', {
|
|
shouldShowValidationMessage: false
|
|
});
|
|
|
|
text.setDisabled(this.disabled);
|
|
|
|
// This.restrictToPositiveIntegerInput(text);
|
|
});
|
|
}
|
|
}
|