diff --git a/app/src/main/java/io/gnosis/safe/ui/assets/coins/CoinsAdapter.kt b/app/src/main/java/io/gnosis/safe/ui/assets/coins/CoinsAdapter.kt index c1e1a37254..77b1dadf27 100644 --- a/app/src/main/java/io/gnosis/safe/ui/assets/coins/CoinsAdapter.kt +++ b/app/src/main/java/io/gnosis/safe/ui/assets/coins/CoinsAdapter.kt @@ -5,6 +5,7 @@ import android.view.ViewGroup import androidx.navigation.Navigation import androidx.recyclerview.widget.RecyclerView import androidx.viewbinding.ViewBinding +import io.gnosis.safe.R import io.gnosis.safe.databinding.ItemBannerImportKeyBinding import io.gnosis.safe.databinding.ItemCoinBalanceBinding import io.gnosis.safe.databinding.ItemCoinTotalBinding @@ -124,7 +125,7 @@ class BannerViewHolder(private val viewBinding: ItemBannerImportKeyBinding) : Ba } bannerAction.setOnClickListener { bannerListener.get()?.onBannerActionTriggered() - Navigation.findNavController(it).navigate(AssetsFragmentDirections.actionAssetsFragmentToOwnerInfoFragment()) + Navigation.findNavController(it).navigate(R.id.action_to_import_owner) } } } diff --git a/app/src/main/java/io/gnosis/safe/ui/safe/add/AddSafeOwnerFragment.kt b/app/src/main/java/io/gnosis/safe/ui/safe/add/AddSafeOwnerFragment.kt index 8e3cbcd41f..dbe84aef14 100644 --- a/app/src/main/java/io/gnosis/safe/ui/safe/add/AddSafeOwnerFragment.kt +++ b/app/src/main/java/io/gnosis/safe/ui/safe/add/AddSafeOwnerFragment.kt @@ -64,7 +64,7 @@ class AddSafeOwnerFragment : BaseViewBindingFragment() { super.onViewCreated(view, savedInstanceState) binding.loadSafeButton.setOnClickListener { - requireParentFragment().findNavController().navigate(R.id.action_to_add_safe_nav) + requireParentFragment().findNavController().navigate(R.id.action_to_add_safe) } } diff --git a/app/src/main/java/io/gnosis/safe/ui/safe/selection/SafeSelectionViewModel.kt b/app/src/main/java/io/gnosis/safe/ui/safe/selection/SafeSelectionViewModel.kt index 9738fe1c78..bf90403f53 100644 --- a/app/src/main/java/io/gnosis/safe/ui/safe/selection/SafeSelectionViewModel.kt +++ b/app/src/main/java/io/gnosis/safe/ui/safe/selection/SafeSelectionViewModel.kt @@ -60,7 +60,7 @@ class SafeSelectionViewModel @Inject constructor( updateState { SafeSelectionState.AddSafeState( ViewAction.NavigateTo( - SafeSelectionDialogDirections.actionSafeSelectionDialogToAddSafeNav() + SafeSelectionDialogDirections.actionSafeSelectionDialogToAddSafe() ) ) } diff --git a/app/src/main/res/layout/fragment_transactions.xml b/app/src/main/res/layout/fragment_transactions.xml index 5b900ffe65..f466a4dbba 100644 --- a/app/src/main/res/layout/fragment_transactions.xml +++ b/app/src/main/res/layout/fragment_transactions.xml @@ -1,5 +1,5 @@ - - + diff --git a/app/src/main/res/navigation/main_nav.xml b/app/src/main/res/navigation/main_nav.xml index 748b91e3db..b653688e4f 100644 --- a/app/src/main/res/navigation/main_nav.xml +++ b/app/src/main/res/navigation/main_nav.xml @@ -7,10 +7,14 @@ app:startDestination="@id/assetsFragment"> + + - -