Skip to content

Commit

Permalink
fix: fixed wrong import
Browse files Browse the repository at this point in the history
  • Loading branch information
timschneeb committed Dec 13, 2024
1 parent 0386403 commit bf6af68
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import androidx.fragment.app.Fragment
import androidx.transition.TransitionManager
import com.google.android.material.dialog.MaterialAlertDialogBuilder
import com.google.android.material.transition.MaterialSharedAxis
import com.pluto.utilities.extensions.toast
import me.timschneeberger.hiddenapi_impl.ShizukuSystemServerApi
import me.timschneeberger.hiddenapi_impl.UserHandle
import me.timschneeberger.rootlessjamesdsp.BuildConfig
Expand Down Expand Up @@ -212,7 +211,7 @@ class OnboardingFragment : Fragment() {
// Open developer settings
startActivity(Intent("android.settings.APPLICATION_DEVELOPMENT_SETTINGS"))
} catch (e: ActivityNotFoundException) {
toast(getString(R.string.no_activity_found))
context?.toast(getString(R.string.no_activity_found))
}
} else {
// Open Shizuku play store page
Expand Down

0 comments on commit bf6af68

Please sign in to comment.