mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 21:25:35 +03:00
Add comments and stuff
This commit is contained in:
parent
eaae09877f
commit
d0e810777f
2 changed files with 4 additions and 7 deletions
|
@ -23,10 +23,6 @@ apply plugin: 'checkstyle'
|
|||
apply plugin: 'pmd'
|
||||
apply plugin: 'findbugs'
|
||||
|
||||
configurations.all {
|
||||
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
|
||||
}
|
||||
|
||||
ext {
|
||||
supportLibraryVersion = '24.2.1'
|
||||
|
||||
|
|
|
@ -129,9 +129,10 @@ public class UserInfoAdapter extends RecyclerView.Adapter<UserInfoAdapter.ViewHo
|
|||
stringPairs.add(new StringPair(context.getResources().getString(R.string.user_info_website),
|
||||
userInfo.getWebpage()));
|
||||
|
||||
if (!TextUtils.isEmpty(userInfo.getTwitter()) && context != null) {
|
||||
stringPairs.add(new StringPair(context.getResources().getString(R.string.user_info_twitter),
|
||||
userInfo.getTwitter()));
|
||||
if (!TextUtils.isEmpty(userInfo.getTwitter())) {
|
||||
stringPairs.add(new StringPair(context.getResources().getString(R.string.user_info_twitter),
|
||||
userInfo.getTwitter()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue