Conditions | 1 |
Total Lines | 8 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | import {ILanguageSetup} from '../../../Language/ChangeLanguageSetup'; |
||
15 | |||
16 | present(data: string) { |
||
17 | 1 | const viewModel: Model = new Model(); |
|
18 | 1 | const translator: Translator = this.languageSetupObserver.value.translator; |
|
19 | 1 | viewModel.text = data + translator.translate('Application.Test'); |
|
20 | 1 | viewModel.topAppBar = this.topAppBarPresenter.present(); |
|
21 | |||
22 | 1 | return viewModel; |
|
23 | } |
||
24 | } |