diff options
author | Vitaly Takmazov | 2014-12-25 02:30:46 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2014-12-25 02:31:44 +0300 |
commit | bad1ba044c60afcf20643883878f2103d9db9744 (patch) | |
tree | 9cdd2059f686d4c886eb83fb7001e1924db618ea /Juick/App.xaml.cs | |
parent | 047e5c0b97a7212e2c68c4952722a8b8d94eb9af (diff) |
Fixes AFTER submission
Diffstat (limited to 'Juick/App.xaml.cs')
-rw-r--r-- | Juick/App.xaml.cs | 14 |
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)
|