Skip to content

Commit 7f01f61

Browse files
authored
docs: fixed ionic 2 syntax
1 parent 417a9b6 commit 7f01f61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,15 +202,15 @@
202202
platform.ready().then(() => {
203203
StatusBar.styleDefault();
204204
Splashscreen.hide();
205-
BranchInit();
205+
branchInit();
206206
});
207207
208208
platform.resume.subscribe(() => {
209-
BranchInit();
209+
branchInit();
210210
});
211211
212212
// Branch initialization
213-
function BranchInit() {
213+
const branchInit = () => {
214214
// only on devices
215215
if (platform.is('core')) { return }
216216
Branch.initSession(data => {

0 commit comments

Comments
 (0)