Commit c8f2364d authored by clairehurst's avatar clairehurst 🌱 Committed by Pier Angelo Vendrame
Browse files

TB 43349 [android]: Add feedback for successful bootstrap

parent a83ac1c4
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ package org.mozilla.fenix.tor

import android.content.Context
import android.util.Log
import android.widget.Toast
import androidx.lifecycle.LifecycleCoroutineScope
import mozilla.components.browser.engine.gecko.GeckoEngine
import org.mozilla.fenix.ext.components
@@ -190,6 +191,11 @@ class TorControllerGV(
                    runOnceBootstrappedHandlers.remove(it)
                }
            }
            Toast.makeText(
                context,
                context.getString(org.mozilla.fenix.R.string.connection_assist_bootstrap_succeeded_toast_message),
                Toast.LENGTH_LONG,
            ).show()
        }
    }