From 093e980eeac0cfd3b511d40e0db687df24d6ec67 Mon Sep 17 00:00:00 2001 From: Sung-jae Park Date: Wed, 27 Sep 2017 15:18:41 +0900 Subject: [PATCH] [TPLAPP-3994] Slide show is not terminated. In case of the Dissolve effect, the slide show was not terminated. This patch terminates the slide show after displaying the last image. Change-Id: I4acc520f228b04fb7363c719ee48e32b80cf8914 Signed-off-by: Sung-jae Park --- TVMediaHub/TVMediaHub.Tizen/Views/ImageViewerSlideShow.xaml.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/TVMediaHub/TVMediaHub.Tizen/Views/ImageViewerSlideShow.xaml.cs b/TVMediaHub/TVMediaHub.Tizen/Views/ImageViewerSlideShow.xaml.cs index f9e1d93..3281822 100755 --- a/TVMediaHub/TVMediaHub.Tizen/Views/ImageViewerSlideShow.xaml.cs +++ b/TVMediaHub/TVMediaHub.Tizen/Views/ImageViewerSlideShow.xaml.cs @@ -213,6 +213,13 @@ namespace TVMediaHub.Tizen.Views /// A delay time private void DissolveSlideShowAnimation(int index, uint delay) { + if (index > imageList.Count) + { + App.AppMainPage.PopAsync(); + + return; + } + DbgPort.D("Step 1"); this.Animate("SlideAnimation", (v) => -- 2.7.4