From e3938a2efe1f79dc7171fd037137d54af63c8321 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Sat, 17 Feb 2018 09:28:10 -0800 Subject: [PATCH] convert posts which exceed 254 characters to raw "nl.chimpnut.blog.post" resolves #51 --- src/pages/stream/stream.ts | 40 ++++++++++++++++++++++++++++++++------ 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/src/pages/stream/stream.ts b/src/pages/stream/stream.ts index aed6853..231978c 100644 --- a/src/pages/stream/stream.ts +++ b/src/pages/stream/stream.ts @@ -274,7 +274,7 @@ export class StreamPage { } showNewPost() { - let newPostModal = this.modalCtrl.create(NewPostModal); + let newPostModal = this.modalCtrl.create(NewPostModal, {me: this.myUsername}); newPostModal.present(); } @@ -335,7 +335,7 @@ export class StreamPage { -
{{254 - ptext.length}}
+
{{textCount()}}