summaryrefslogtreecommitdiff
path: root/Juick/App.xaml.cs
diff options
context:
space:
mode:
authorGravatar k0st1x2015-07-30 23:03:35 +0300
committerGravatar k0st1x2015-07-30 23:03:35 +0300
commit73443e2fd916747e9d6c0bc5b0365e50813207e0 (patch)
tree4aaca4f07fd03aeb5306b30277b213f3b40178c6 /Juick/App.xaml.cs
parentf886241fdf48e1c1880084ae2f4bd0541f5cf3c0 (diff)
parentbad1ba044c60afcf20643883878f2103d9db9744 (diff)
Merge branch 'master' of https://bitbucket.org/vitalyster/juick-windowsphone
Conflicts: Juick/Properties/WMAppManifest.xml
Diffstat (limited to 'Juick/App.xaml.cs')
-rw-r--r--Juick/App.xaml.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/Juick/App.xaml.cs b/Juick/App.xaml.cs
index bb8dddb..100f0e3 100644
--- a/Juick/App.xaml.cs
+++ b/Juick/App.xaml.cs
@@ -10,15 +10,15 @@ namespace Juick
{
public partial class App : Application
{
- public void NavigateTo(Uri param, bool removeFromStack = false)
+ public void NavigateTo(Uri param)
{
- var page = (PhoneApplicationPage) RootFrame.Content;
+ var page = (PhoneApplicationPage)RootFrame.Content;
var service = page.NavigationService;
- service.Navigate(param);
- if (removeFromStack)
+ page.Dispatcher.BeginInvoke(() =>
{
- page.Dispatcher.BeginInvoke(() => service.RemoveBackEntry());
- }
+ service.Navigate(param);
+ });
+
}
private static AppViewModel _context = null;
@@ -230,7 +230,7 @@ namespace Juick
// The app was relaunched via a Deep Link.
// The page stack will be cleared.
}
- else if (e.Uri.OriginalString.Contains("/MainPage.xaml"))
+ else if (e.Uri.OriginalString.Contains("/LaunchPage.xaml"))
{
// This block will run if the navigation Uri is the main page
if (_sessionType == SessionType.DeepLink)