Skip to content

Commit

Permalink
#90 winphone support
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyverbruggen@gmail.com committed Nov 13, 2015
1 parent 37c592a commit 326887d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/winphone/NativePageTransitions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public void slide(string options)
}
else
{
to = "www/" + to;
to = path.Substring(0, path.LastIndexOf('/')+1) + to;
}
browser.Navigate(new Uri(to, UriKind.RelativeOrAbsolute));
}
Expand Down Expand Up @@ -238,12 +238,10 @@ public void flip(string options)
path = path.Substring(0, path.IndexOf("#"));
}
to = path + to;
//Debug.WriteLine("browser will navigate to (a): " + to);
}
else
{
to = "www/" + to;
//Debug.WriteLine("browser will navigate to (b): " + to);
to = path.Substring(0, path.LastIndexOf('/')+1) + to;
}
browser.Navigate(new Uri(to, UriKind.RelativeOrAbsolute));
}
Expand Down

0 comments on commit 326887d

Please sign in to comment.