commit
624b5a5cdb
|
@ -73,11 +73,8 @@ export class CoreSwipeNavigationDirective implements AfterViewInit, OnDestroy {
|
||||||
this.onRelease(ev);
|
this.onRelease(ev);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
this.swipeGesture.enable();
|
|
||||||
|
|
||||||
// Show user tour.
|
|
||||||
const source = this.manager?.getSource();
|
const source = this.manager?.getSource();
|
||||||
|
|
||||||
if (!source) {
|
if (!source) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -85,11 +82,13 @@ export class CoreSwipeNavigationDirective implements AfterViewInit, OnDestroy {
|
||||||
await source.waitForLoaded();
|
await source.waitForLoaded();
|
||||||
|
|
||||||
const items = source.getItems() ?? [];
|
const items = source.getItems() ?? [];
|
||||||
|
|
||||||
if (!this.enabled || items.length < 2) {
|
if (!this.enabled || items.length < 2) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.swipeGesture.enable();
|
||||||
|
|
||||||
|
// Show user tour.
|
||||||
await CoreUserTours.showIfPending({
|
await CoreUserTours.showIfPending({
|
||||||
id: 'swipe-navigation',
|
id: 'swipe-navigation',
|
||||||
component: CoreSwipeNavigationTourComponent,
|
component: CoreSwipeNavigationTourComponent,
|
||||||
|
|
|
@ -187,7 +187,8 @@ html {
|
||||||
--ion-searchbar-height: var(--a11y-min-target-size);
|
--ion-searchbar-height: var(--a11y-min-target-size);
|
||||||
--ion-searchbar-color: var(--text-color);
|
--ion-searchbar-color: var(--text-color);
|
||||||
--ion-searchbar-icon-color: var(--core-input-stroke);
|
--ion-searchbar-icon-color: var(--core-input-stroke);
|
||||||
ion-searchbar {
|
ion-searchbar,
|
||||||
|
.ios ion-searchbar {
|
||||||
--background: var(--ion-searchbar-background);
|
--background: var(--ion-searchbar-background);
|
||||||
--border-color: var(--ion-searchbar-border-color);
|
--border-color: var(--ion-searchbar-border-color);
|
||||||
--color: var(--ion-searchbar-color);
|
--color: var(--ion-searchbar-color);
|
||||||
|
|
Loading…
Reference in New Issue