|
@@ -69,11 +69,6 @@ class LoginActivity : BaseXActivity<ActivityLoginBinding>() {
|
|
|
FBLogin.login(this@LoginActivity)
|
|
|
} else {
|
|
|
FBLogin.login(this@LoginActivity)
|
|
|
- Toast.makeText(
|
|
|
- this@LoginActivity,
|
|
|
- getString(R.string.these_permissions_denied)+ "$deniedList",
|
|
|
- Toast.LENGTH_LONG
|
|
|
- ).show()
|
|
|
}
|
|
|
}
|
|
|
}else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU){
|
|
@@ -86,11 +81,6 @@ class LoginActivity : BaseXActivity<ActivityLoginBinding>() {
|
|
|
FBLogin.login(this@LoginActivity)
|
|
|
} else {
|
|
|
FBLogin.login(this@LoginActivity)
|
|
|
- Toast.makeText(
|
|
|
- this@LoginActivity,
|
|
|
- getString(R.string.these_permissions_denied)+ "$deniedList",
|
|
|
- Toast.LENGTH_LONG
|
|
|
- ).show()
|
|
|
}
|
|
|
}
|
|
|
}else{
|
|
@@ -103,11 +93,6 @@ class LoginActivity : BaseXActivity<ActivityLoginBinding>() {
|
|
|
FBLogin.login(this@LoginActivity)
|
|
|
} else {
|
|
|
FBLogin.login(this@LoginActivity)
|
|
|
- Toast.makeText(
|
|
|
- this@LoginActivity,
|
|
|
- getString(R.string.these_permissions_denied)+ "$deniedList",
|
|
|
- Toast.LENGTH_LONG
|
|
|
- ).show()
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -131,11 +116,6 @@ class LoginActivity : BaseXActivity<ActivityLoginBinding>() {
|
|
|
GoogleLogin.login(this@LoginActivity)
|
|
|
} else {
|
|
|
GoogleLogin.login(this@LoginActivity)
|
|
|
- Toast.makeText(
|
|
|
- this@LoginActivity,
|
|
|
- getString(R.string.these_permissions_denied)+"$deniedList",
|
|
|
- Toast.LENGTH_LONG
|
|
|
- ).show()
|
|
|
}
|
|
|
}
|
|
|
}else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU){
|
|
@@ -148,11 +128,6 @@ class LoginActivity : BaseXActivity<ActivityLoginBinding>() {
|
|
|
GoogleLogin.login(this@LoginActivity)
|
|
|
} else {
|
|
|
GoogleLogin.login(this@LoginActivity)
|
|
|
- Toast.makeText(
|
|
|
- this@LoginActivity,
|
|
|
- getString(R.string.these_permissions_denied)+"$deniedList",
|
|
|
- Toast.LENGTH_LONG
|
|
|
- ).show()
|
|
|
}
|
|
|
}
|
|
|
}else{
|
|
@@ -165,11 +140,6 @@ class LoginActivity : BaseXActivity<ActivityLoginBinding>() {
|
|
|
GoogleLogin.login(this@LoginActivity)
|
|
|
} else {
|
|
|
GoogleLogin.login(this@LoginActivity)
|
|
|
- Toast.makeText(
|
|
|
- this@LoginActivity,
|
|
|
- getString(R.string.these_permissions_denied)+"$deniedList",
|
|
|
- Toast.LENGTH_LONG
|
|
|
- ).show()
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -236,11 +206,6 @@ class LoginActivity : BaseXActivity<ActivityLoginBinding>() {
|
|
|
val account = binding.etAccount.text.toString()
|
|
|
val secret = binding.etSecret.text.toString()
|
|
|
loginVm.loginByAccount(account, secret)
|
|
|
- Toast.makeText(
|
|
|
- this@LoginActivity,
|
|
|
- getString(R.string.these_permissions_denied)+" $deniedList",
|
|
|
- Toast.LENGTH_LONG
|
|
|
- ).show()
|
|
|
}
|
|
|
}
|
|
|
}else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU){
|
|
@@ -259,11 +224,6 @@ class LoginActivity : BaseXActivity<ActivityLoginBinding>() {
|
|
|
val account = binding.etAccount.text.toString()
|
|
|
val secret = binding.etSecret.text.toString()
|
|
|
loginVm.loginByAccount(account, secret)
|
|
|
- Toast.makeText(
|
|
|
- this@LoginActivity,
|
|
|
- getString(R.string.these_permissions_denied)+" $deniedList",
|
|
|
- Toast.LENGTH_LONG
|
|
|
- ).show()
|
|
|
}
|
|
|
}
|
|
|
}else{
|
|
@@ -282,11 +242,6 @@ class LoginActivity : BaseXActivity<ActivityLoginBinding>() {
|
|
|
val account = binding.etAccount.text.toString()
|
|
|
val secret = binding.etSecret.text.toString()
|
|
|
loginVm.loginByAccount(account, secret)
|
|
|
- Toast.makeText(
|
|
|
- this@LoginActivity,
|
|
|
- getString(R.string.these_permissions_denied)+" $deniedList",
|
|
|
- Toast.LENGTH_LONG
|
|
|
- ).show()
|
|
|
}
|
|
|
}
|
|
|
}
|