Skip to content

Commit

Permalink
Update MainActivity.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
consuelita committed Feb 27, 2024
1 parent 217cdae commit f691469
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ class MainActivity : AppCompatActivity()
// Set the action (start not stop)
moonbounceVPNIntent.action = START_VPN_ACTION

// Provide the activity that should receive the vpn status broadcasts
moonbounceVPNIntent.putExtra(APP_PACKAGE, MainActivity::class.java)
// Provide the package that should receive the vpn status broadcasts
moonbounceVPNIntent.putExtra(APP_PACKAGE, this.packageName)

// Set the IP address of the vpn server (transport server if a transport is being used)
ipAddress = ipEditText.text.toString()
Expand Down

0 comments on commit f691469

Please sign in to comment.