Reworked NavigationManager logic. Now if ViewModel has default constructor window manager will try to create new instance of it.
Change some command. Now after deleting/updating you will not go back to previous content, you will return to the list of items
Also optimize some command for user. Now on LogOut shown and logged user are setted to null, and FollowViewModel does not require any more Shown User as argument for constructor
Fixes # (issues)
142
Opens # (issues)
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] My code builds clean without any errors or warnings
Description
Reworked NavigationManager logic. Now if ViewModel has default constructor window manager will try to create new instance of it.
Change some command. Now after deleting/updating you will not go back to previous content, you will return to the list of items
Also optimize some command for user. Now on LogOut shown and logged user are setted to null, and FollowViewModel does not require any more Shown User as argument for constructor
Fixes # (issues)
142
Opens # (issues)
Type of change
Checklist: