File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
app/src/main/java/fr/neamar/kiss/forwarder Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -85,15 +85,18 @@ private void applyRoundedCorners(MainActivity mainActivity) {
8585 if (prefs .getBoolean ("pref-rounded-bars" , false )) {
8686 mainActivity .kissBar .setBackgroundResource (R .drawable .rounded_kiss_bar );
8787 if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .LOLLIPOP ) {
88+ mainActivity .findViewById (R .id .externalFavoriteBar ).setBackgroundResource (R .drawable .rounded_search_bar );
8889 mainActivity .findViewById (R .id .searchEditLayout ).setBackgroundResource (R .drawable .rounded_search_bar );
8990 }
9091 else {
9192 // Before API21, you can't access values from current theme using ?attr/
9293 // So we made two different drawables (#931).
9394 if (getSearchBackgroundColor () == Color .WHITE ) {
95+ mainActivity .findViewById (R .id .externalFavoriteBar ).setBackgroundResource (R .drawable .rounded_search_bar_pre21_light );
9496 mainActivity .findViewById (R .id .searchEditLayout ).setBackgroundResource (R .drawable .rounded_search_bar_pre21_light );
9597 }
9698 else {
99+ mainActivity .findViewById (R .id .externalFavoriteBar ).setBackgroundResource (R .drawable .rounded_search_bar_pre21_dark );
97100 mainActivity .findViewById (R .id .searchEditLayout ).setBackgroundResource (R .drawable .rounded_search_bar_pre21_dark );
98101 }
99102 }
You can’t perform that action at this time.
0 commit comments