Use isNotEmpty instead of isNoneEmpty
Caused NoSuchMethodError on at least one device
This commit is contained in:
parent
1f685b0295
commit
b0500e7048
|
@ -90,7 +90,7 @@ public class FlattrUtils {
|
|||
*/
|
||||
public static boolean hasAPICredentials() {
|
||||
return StringUtils.isNotEmpty(BuildConfig.FLATTR_APP_KEY)
|
||||
&& StringUtils.isNoneEmpty(BuildConfig.FLATTR_APP_SECRET);
|
||||
&& StringUtils.isNotEmpty(BuildConfig.FLATTR_APP_SECRET);
|
||||
}
|
||||
|
||||
public static boolean hasToken() {
|
||||
|
|
Loading…
Reference in New Issue