mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Merge pull request #1933 from nextcloud/userinfoButterknife
do not use id twice
This commit is contained in:
commit
666ff25ce6
2 changed files with 5 additions and 5 deletions
|
@ -113,10 +113,10 @@ public class UserInfoActivity extends FileActivity {
|
|||
@BindView(R.id.user_icon)
|
||||
public ImageView avatar;
|
||||
|
||||
@BindView(R.id.drawer_username)
|
||||
@BindView(R.id.userinfo_username)
|
||||
public TextView userName;
|
||||
|
||||
@BindView(R.id.drawer_username_full)
|
||||
@BindView(R.id.userinfo_username_full)
|
||||
public TextView fullName;
|
||||
|
||||
@BindView(R.id.phone_container)
|
||||
|
@ -277,7 +277,7 @@ public class UserInfoActivity extends FileActivity {
|
|||
|
||||
private void setHeaderImage() {
|
||||
if (getStorageManager().getCapability(account.name).getServerBackground() != null) {
|
||||
final AppBarLayout appBar = (AppBarLayout) findViewById(R.id.appbar);
|
||||
final AppBarLayout appBar = findViewById(R.id.appbar);
|
||||
|
||||
if (appBar != null) {
|
||||
String background = getStorageManager().getCapability(account.name).getServerBackground();
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/drawer_username_full"
|
||||
android:id="@+id/userinfo_username_full"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
|
@ -90,7 +90,7 @@
|
|||
android:textStyle="bold"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/drawer_username"
|
||||
android:id="@+id/userinfo_username"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
|
|
Loading…
Reference in a new issue