Skip to content

Commit

Permalink
Add toast notification to JoinDAOFragment
Browse files Browse the repository at this point in the history
  • Loading branch information
MozaTech committed Jun 11, 2024
1 parent 3408f4b commit 90346bf
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.fragment.app.Fragment
import androidx.lifecycle.lifecycleScope
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
Expand Down Expand Up @@ -162,6 +164,12 @@ class JoinDAOFragment : BaseFragment(R.layout.fragment_join_network) {
joinSharedWalletClicked(uniqueWallets[position])
}
}

CoroutineScope(Dispatchers.Main).launch {
Toast.makeText(context,
"Sending JOIN proposal",
Toast.LENGTH_LONG).show()
}
}

if (fetchedWallets.isEmpty()) {
Expand Down

0 comments on commit 90346bf

Please sign in to comment.