File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
java/fr/free/nrw/commons/theme Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1313import android .view .MenuItem ;
1414import android .view .View ;
1515import android .widget .ImageView ;
16+ import android .widget .LinearLayout ;
1617import android .widget .TextView ;
1718import android .widget .Toast ;
1819
@@ -136,7 +137,7 @@ private void setUserName() {
136137 if (allAccounts .length != 0 ) {
137138 username .setText (allAccounts [0 ].name );
138139 }
139- ImageView userIcon = navHeaderView .findViewById (R .id .user_icon );
140+ LinearLayout userIcon = navHeaderView .findViewById (R .id .user_details );
140141 userIcon .setOnClickListener (v -> {
141142 drawerLayout .closeDrawer (navigationView );
142143 AchievementsActivity .startYourself (NavigationBaseActivity .this );
Original file line number Diff line number Diff line change 1919 app : srcCompat =" @drawable/commons_logo" />
2020
2121 <LinearLayout
22+ android : id =" @+id/user_details"
2223 android : layout_width =" match_parent"
2324 android : layout_height =" wrap_content"
2425 android : gravity =" center"
You can’t perform that action at this time.
0 commit comments