diff --git a/projects/addon-mobile/components/pull-to-refresh/loader-android/loader-android.style.less b/projects/addon-mobile/components/pull-to-refresh/loader-android/loader-android.style.less index 39d5a9e91b48..861c91b427bb 100644 --- a/projects/addon-mobile/components/pull-to-refresh/loader-android/loader-android.style.less +++ b/projects/addon-mobile/components/pull-to-refresh/loader-android/loader-android.style.less @@ -35,16 +35,6 @@ margin-left: -1.125rem; } -.t-loading { - display: block; - width: 1rem; - border-radius: 100%; - animation: tuiLoaderRotate 3s linear infinite; -} - -.t-circle { - fill: none; - stroke: var(--tui-text-01); - stroke-width: 1.5rem; - animation: tuiLoaderDashOffset 3s linear infinite; +.t-loader { + color: var(--tui-text-01); } diff --git a/projects/addon-mobile/components/pull-to-refresh/loader-android/loader-android.template.html b/projects/addon-mobile/components/pull-to-refresh/loader-android/loader-android.template.html index e5db40949bbf..0704baed98b9 100644 --- a/projects/addon-mobile/components/pull-to-refresh/loader-android/loader-android.template.html +++ b/projects/addon-mobile/components/pull-to-refresh/loader-android/loader-android.template.html @@ -30,17 +30,9 @@ - - - + diff --git a/projects/addon-mobile/components/pull-to-refresh/pull-to-refresh.module.ts b/projects/addon-mobile/components/pull-to-refresh/pull-to-refresh.module.ts index b5614b82410f..be92ccf098ae 100644 --- a/projects/addon-mobile/components/pull-to-refresh/pull-to-refresh.module.ts +++ b/projects/addon-mobile/components/pull-to-refresh/pull-to-refresh.module.ts @@ -1,7 +1,7 @@ import {CommonModule} from '@angular/common'; import {NgModule} from '@angular/core'; import {TuiRepeatTimesModule} from '@taiga-ui/cdk'; -import {TuiSvgModule} from '@taiga-ui/core'; +import {TuiLoaderModule, TuiSvgModule} from '@taiga-ui/core'; import {PolymorpheusModule} from '@tinkoff/ng-polymorpheus'; import {TuiMobileLoaderAndroidComponent} from './loader-android/loader-android.component'; @@ -9,7 +9,13 @@ import {TuiMobileLoaderIOSComponent} from './loader-ios/loader-ios.component'; import {TuiPullToRefreshComponent} from './pull-to-refresh.component'; @NgModule({ - imports: [CommonModule, TuiSvgModule, TuiRepeatTimesModule, PolymorpheusModule], + imports: [ + CommonModule, + TuiLoaderModule, + TuiSvgModule, + TuiRepeatTimesModule, + PolymorpheusModule, + ], declarations: [ TuiPullToRefreshComponent, TuiMobileLoaderAndroidComponent,