Fix bad token

This commit is contained in:
Mygod
2018-08-20 22:37:31 +08:00
parent 52b641dfd6
commit cd778589c3
2 changed files with 1 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ class EBegFragment : DialogFragment(), PurchasesUpdatedListener, BillingClientSt
}
private fun openDialog(@StringRes title: Int, @StringRes message: Int) {
AlertDialog.Builder(context ?: return).apply {
AlertDialog.Builder(activity ?: return).apply {
setTitle(title)
setMessage(message)
isCancelable = true

View File

@@ -1,7 +1,6 @@
package be.mygod.vpnhotspot.net
import android.util.Log
import be.mygod.vpnhotspot.App.Companion.app
import be.mygod.vpnhotspot.R
import be.mygod.vpnhotspot.util.thread
import be.mygod.vpnhotspot.widget.SmartSnackbar