projects
/
platform
/
core
/
csapi
/
tizenfx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NUI] Add EnableBackNavigation to Navigator
[platform/core/csapi/tizenfx.git]
/
src
/
Tizen.NUI.Components
/
Controls
/
Navigation
/
AppBar.cs
diff --git
a/src/Tizen.NUI.Components/Controls/Navigation/AppBar.cs
b/src/Tizen.NUI.Components/Controls/Navigation/AppBar.cs
index
f7532ba
..
425c1e1
100755
(executable)
--- a/
src/Tizen.NUI.Components/Controls/Navigation/AppBar.cs
+++ b/
src/Tizen.NUI.Components/Controls/Navigation/AppBar.cs
@@
-672,8
+672,8
@@
namespace Tizen.NUI.Components
var page = GetParent() as Page;
if (page != null)
{
- var navigator = page.
GetParent() as
Navigator;
- if (
navigator != null
)
+ var navigator = page.Navigator;
+ if (
(navigator != null) && (navigator.EnableBackNavigation)
)
{
navigator.Pop();
}