From 284836e0dd9a2342ad903a85169ae37796838d50 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Sun, 2 Sep 2018 17:49:21 -0700 Subject: [PATCH] show thumbnail by default in timeline but open in browser when clicked. issue #73 and #16 --- src/pages/stream/stream.html | 2 +- src/pages/stream/stream.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pages/stream/stream.html b/src/pages/stream/stream.html index aa350bc..c5d5471 100644 --- a/src/pages/stream/stream.html +++ b/src/pages/stream/stream.html @@ -54,7 +54,7 @@
- +
diff --git a/src/pages/stream/stream.ts b/src/pages/stream/stream.ts index 8a3cb9c..b71260f 100644 --- a/src/pages/stream/stream.ts +++ b/src/pages/stream/stream.ts @@ -303,6 +303,10 @@ export class StreamPage { newPostModal.present(); } + showImage(url) { + window.open(url, '_system'); + } + presentToast(text) { let toast = this.toastCtrl.create({ position: 'top',