From: Kyuho Jo Date: Wed, 10 May 2017 07:22:14 +0000 (+0900) Subject: Fixed a bug on sorting recent contents X-Git-Tag: submit/tizen/20170808.015446~41 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a3e16b8cef178fe6d77ffb8205fb7b0b1530137;p=profile%2Ftv%2Fapps%2Fdotnet%2Fhome.git Fixed a bug on sorting recent contents Signed-off-by: Kyuho Jo Change-Id: I736ccc9e9f811d7ad60a53840e4eb3074badbba9 --- diff --git a/LibTVRefCommonPortable/Models/RecentShortcutController.cs b/LibTVRefCommonPortable/Models/RecentShortcutController.cs index 6845251..5cd8496 100755 --- a/LibTVRefCommonPortable/Models/RecentShortcutController.cs +++ b/LibTVRefCommonPortable/Models/RecentShortcutController.cs @@ -133,6 +133,7 @@ namespace LibTVRefCommonPortable.Models recentShortcutInfo.StateDescriptions.Add("default", defaultStateDescription); recentShortcutInfo.CurrentStateDescription = defaultStateDescription; recentShortcutInfo.Id = item.AppID; + recentShortcutInfo.Date = item.LaunchedTime; recentShortcutInfoList.Add(recentShortcutInfo); } } @@ -201,6 +202,7 @@ namespace LibTVRefCommonPortable.Models recentShortcutInfo.StateDescriptions.Add("default", defaultStateDescription); recentShortcutInfo.CurrentStateDescription = defaultStateDescription; recentShortcutInfo.Id = "org.tizen.xamediahub"; + recentShortcutInfo.Date = item.PlayedAt; recentShortcutInfoList.Add(recentShortcutInfo); }