Skip to content

Commit 4d786b3

Browse files
committed
docs(modal): fix trailing space
1 parent 4f49f27 commit 4d786b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/modal/modal-controller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ import { DeepLinker } from '../../navigation/deep-linker';
114114
* ```
115115
*
116116
* A common issue is that a developer may try to implement navigation in a modal, but when you try NavController.push(),
117-
* you will notice that the status bar on iOS gets cut off. The proper way to implement navigation in a modal is to
117+
* you will notice that the status bar on iOS gets cut off. The proper way to implement navigation in a modal is to
118118
* make the modal component a navigation container, and set the root page to the page you want to show in your modal.
119119
*
120120
* ```ts
@@ -124,7 +124,7 @@ import { DeepLinker } from '../../navigation/deep-linker';
124124
* export class MyModalWrapper {
125125
* rootPage = 'MyModalContentPage'; // This is the page you want your modal to display
126126
* rootParams;
127-
*
127+
*
128128
* constructor(navParams: NavParams, private viewCtrl: ViewController) {
129129
* this.rootParams = Object.assign({}, navParams.data, {viewCtrl: viewCtrl});
130130
* // This line will send the view controller into your child views, so you can dismiss the modals from there.

0 commit comments

Comments
 (0)