File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import { Platform } from 'ionic-angular';
10
10
import { Media , MediaObject } from '@ionic-native/media' ;
11
11
import { File } from '@ionic-native/file' ;
12
12
import { FilePath } from '@ionic-native/file-path' ;
13
+ import { HttpProvider } from '../../providers/http/http' ;
13
14
14
15
declare var cordova : any ;
15
16
@@ -50,7 +51,8 @@ export class AddPhrasePage {
50
51
private media : Media ,
51
52
public platform : Platform ,
52
53
private file : File ,
53
- private filePath : FilePath ) {
54
+ private filePath : FilePath ,
55
+ private httpProvider :HttpProvider ) {
54
56
55
57
56
58
@@ -323,6 +325,7 @@ export class AddPhrasePage {
323
325
this . showAlert ( "לא הוכנס משפט" , null ) ;
324
326
} else {
325
327
console . log ( this . _myForm . controls [ 'text' ] . value ) ; //the input text value
328
+ //this.httpProvider.textToSpeech(this._myForm.controls['text'].value, Enums.API_KEYS.TTS_ofek_API_KEY, "");
326
329
}
327
330
}
328
331
You can’t perform that action at this time.
0 commit comments