@@ -62,7 +62,6 @@ import { Path } from './utils/path';
62
62
import { HTMLGenerator } from './html-generation/html-generator' ;
63
63
import icon , { UsingIconNames , getIconSvg , addIconForconflictFile } from './utils/icon' ;
64
64
import { StatsView , VIEW_TYPE_STATS , LogType } from "./statsView" ;
65
- import { DomaindModal } from './remoteDomainModal' ;
66
65
67
66
const { iconNameSyncWait, iconNameSyncPending, iconNameSyncRunning, iconNameLogs, iconNameSyncLogo } = UsingIconNames ;
68
67
@@ -116,20 +115,20 @@ export default class InvioPlugin extends Plugin {
116
115
return false ;
117
116
}
118
117
119
- async checkDomain ( ) {
120
- // Domain check
121
- return new Promise ( ( resolve ) => {
122
- if ( this . settings ?. remoteDomain ) {
123
- resolve ( this . settings . remoteDomain ) ;
124
- }
125
- if ( ! this . settings ?. remoteDomain ) {
126
- // Show modal to get
127
- new DomaindModal ( this . app , this , this . settings ?. remoteDomain , ( newDomain ) => {
128
- resolve ( newDomain ) ;
129
- } ) . open ( )
130
- }
131
- } )
132
- }
118
+ // async checkDomain() {
119
+ // // Domain check
120
+ // return new Promise((resolve) => {
121
+ // if (this.settings?.remoteDomain) {
122
+ // resolve(this.settings.remoteDomain);
123
+ // }
124
+ // if (!this.settings?.remoteDomain) {
125
+ // // Show modal to get
126
+ // new DomaindModal(this.app, this, this.settings?.remoteDomain, (newDomain) => {
127
+ // resolve(newDomain);
128
+ // }).open()
129
+ // }
130
+ // })
131
+ // }
133
132
134
133
async syncRun ( triggerSource : SyncTriggerSourceType = "manual" , fileList ?: string [ ] ) {
135
134
const t = ( x : TransItemType , vars ?: any ) => {
0 commit comments