Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
fixed location of MixedChinaAndGlobalStyleActivity token toast message (
Browse files Browse the repository at this point in the history
  • Loading branch information
Langston Smith authored May 15, 2020
1 parent 4d33d50 commit 1beb472
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ class MixedChinaAndGlobalStyleActivity : AppCompatActivity(), OnMapReadyCallback

this.savedInstanceState = savedInstanceState

Toast.makeText(this, R.string.china_token_warning_toast, Toast.LENGTH_LONG).show()

// Check location permissions
locationPermissionCheckAndStart()
}
Expand Down Expand Up @@ -83,8 +85,6 @@ class MixedChinaAndGlobalStyleActivity : AppCompatActivity(), OnMapReadyCallback
override fun onSuccess(result: LocationEngineResult?) {
val lastLocation = result?.lastLocation

Toast.makeText(this, R.string.china_token_warning_toast, Toast.LENGTH_LONG).show()

if (deviceInChina == null) {

// Check to see whether the device location is inside
Expand Down

0 comments on commit 1beb472

Please sign in to comment.