projects
/
profile
/
iot
/
apps
/
dotnet
/
fitness.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e312b1d
)
Fixing review
author
k.stepaniuk
<k.stepaniuk@samsung.com>
Fri, 11 Dec 2020 08:58:29 +0000
(09:58 +0100)
committer
Piotr Czaja
<p.czaja@samsung.com>
Tue, 14 Sep 2021 11:01:34 +0000
(13:01 +0200)
Signed-off-by: k.stepaniuk <k.stepaniuk@samsung.com>
Fitness/Controls/NavigationStack.cs
patch
|
blob
|
history
diff --git
a/Fitness/Controls/NavigationStack.cs
b/Fitness/Controls/NavigationStack.cs
index
c72521c
..
41b0724
100644
(file)
--- a/
Fitness/Controls/NavigationStack.cs
+++ b/
Fitness/Controls/NavigationStack.cs
@@
-36,21
+36,21
@@
namespace Fitness.Controls
public void Pop()
{
- Pop
Core
();
-
ActivateTopPage
();
+ Pop
Last
();
+
ShowLast
();
}
public void PopToRoot()
{
while (pages.Count > 1)
{
- Pop
Core
();
+ Pop
Last
();
}
-
ActivateTopPage
();
+
ShowLast
();
}
- private void Pop
Core
()
+ private void Pop
Last
()
{
if (pages.TryPeek(out Page last))
{
@@
-59,7
+59,7
@@
namespace Fitness.Controls
}
}
- private void
ActivateTopPage
()
+ private void
ShowLast
()
{
if (pages.TryPeek(out Page current))
{