Remove useless abstractions and hardcoded text for toasts
This commit is contained in:
parent
5d76722a27
commit
3272d12f64
6 changed files with 10 additions and 20 deletions
|
@ -225,10 +225,6 @@ function onRecordChange(e) {
|
|||
}
|
||||
}
|
||||
|
||||
function sendToast(msg) {
|
||||
toast(msg);
|
||||
}
|
||||
|
||||
function onRecordSeriesChange(e) {
|
||||
this.changed = true;
|
||||
|
||||
|
@ -252,7 +248,7 @@ function onRecordSeriesChange(e) {
|
|||
} else {
|
||||
if (this.SeriesTimerId) {
|
||||
apiClient.cancelLiveTvSeriesTimer(this.SeriesTimerId).then(function () {
|
||||
sendToast(globalize.translate('RecordingCancelled'));
|
||||
toast(globalize.translate('RecordingCancelled'));
|
||||
fetchData(self);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue