summaryrefslogtreecommitdiff
path: root/Juick
diff options
context:
space:
mode:
Diffstat (limited to 'Juick')
-rw-r--r--Juick/ThreadView.xaml.cs2
-rw-r--r--Juick/ViewModels/MessageListViewModelBase.cs2
2 files changed, 3 insertions, 1 deletions
diff --git a/Juick/ThreadView.xaml.cs b/Juick/ThreadView.xaml.cs
index 958efe2..d17f8f5 100644
--- a/Juick/ThreadView.xaml.cs
+++ b/Juick/ThreadView.xaml.cs
@@ -21,6 +21,8 @@ namespace Juick
// When page is navigated to set data context to selected item in list
protected override void OnNavigatedTo(NavigationEventArgs e)
{
+ if (Model.Items.Count > 0)
+ return;
string _mid = "";
if (NavigationContext.QueryString.TryGetValue("mid", out _mid))
{
diff --git a/Juick/ViewModels/MessageListViewModelBase.cs b/Juick/ViewModels/MessageListViewModelBase.cs
index 2631a53..5dc8aed 100644
--- a/Juick/ViewModels/MessageListViewModelBase.cs
+++ b/Juick/ViewModels/MessageListViewModelBase.cs
@@ -47,7 +47,7 @@ namespace Juick.ViewModels
/// </summary>
public void LoadData()
{
- if (IsDataLoading || Items.Count > 0) {
+ if (IsDataLoading) {
return;
}