Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
circles-android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Circles
circles-android
Commits
18d0461b
Commit
18d0461b
authored
1 year ago
by
Taras
Browse files
Options
Downloads
Patches
Plain Diff
Fix setting navigator directions
parent
1ff6d463
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/src/main/java/org/futo/circles/feature/settings/SettingsNavigator.kt
+2
-3
2 additions, 3 deletions
...va/org/futo/circles/feature/settings/SettingsNavigator.kt
with
2 additions
and
3 deletions
app/src/main/java/org/futo/circles/feature/settings/SettingsNavigator.kt
+
2
−
3
View file @
18d0461b
...
...
@@ -5,7 +5,6 @@ import org.futo.circles.R
import
org.futo.circles.core.extensions.navigateSafe
import
org.futo.circles.core.extensions.showError
import
org.futo.circles.core.model.ShareUrlTypeArg
import
org.futo.circles.feature.people.PeopleFragmentDirections
class
SettingsNavigator
(
private
val
fragment
:
SettingsFragment
)
{
...
...
@@ -37,7 +36,7 @@ class SettingsNavigator(private val fragment: SettingsFragment) {
fun
navigateToEditProfile
()
{
fragment
.
findNavController
()
.
navigateSafe
(
People
FragmentDirections
.
toEditProfileDialogFragment
())
.
navigateSafe
(
Settings
FragmentDirections
.
toEditProfileDialogFragment
())
}
fun
navigateToShareProfile
(
sharedSpaceId
:
String
?)
{
...
...
@@ -48,7 +47,7 @@ class SettingsNavigator(private val fragment: SettingsFragment) {
return
}
fragment
.
findNavController
().
navigateSafe
(
People
FragmentDirections
.
toShareProfileDialogFragment
(
Settings
FragmentDirections
.
toShareProfileDialogFragment
(
sharedSpaceId
,
ShareUrlTypeArg
.
PROFILE
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment