File tree 2 files changed +3
-1
lines changed
java/fr/free/nrw/commons/theme
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 13
13
import android .view .MenuItem ;
14
14
import android .view .View ;
15
15
import android .widget .ImageView ;
16
+ import android .widget .LinearLayout ;
16
17
import android .widget .TextView ;
17
18
import android .widget .Toast ;
18
19
@@ -136,7 +137,7 @@ private void setUserName() {
136
137
if (allAccounts .length != 0 ) {
137
138
username .setText (allAccounts [0 ].name );
138
139
}
139
- ImageView userIcon = navHeaderView .findViewById (R .id .user_icon );
140
+ LinearLayout userIcon = navHeaderView .findViewById (R .id .user_details );
140
141
userIcon .setOnClickListener (v -> {
141
142
drawerLayout .closeDrawer (navigationView );
142
143
AchievementsActivity .startYourself (NavigationBaseActivity .this );
Original file line number Diff line number Diff line change 19
19
app : srcCompat =" @drawable/commons_logo" />
20
20
21
21
<LinearLayout
22
+ android : id =" @+id/user_details"
22
23
android : layout_width =" match_parent"
23
24
android : layout_height =" wrap_content"
24
25
android : gravity =" center"
You can’t perform that action at this time.
0 commit comments