Commit fdc60bed authored by Alexandre Perraud's avatar Alexandre Perraud

UI : Use the new bookmark network icon

parent b6569b29
......@@ -4,7 +4,7 @@
<item
android:id="@+id/ml_menu_save"
android:icon="@drawable/abc_btn_check_to_on_mtrl_000"
android:icon="@drawable/ic_menu_bookmark_outline_w"
android:title="@string/clear_history"
android:nextFocusDown="@+id/ml_menu_search"
android:visible="false"
......
......@@ -566,8 +566,8 @@ public class MainActivity extends ActionBarActivity implements OnItemClickListen
item.setVisible(true);
String mrl = ((NetworkFragment)current).mMrl;
item.setIcon(MediaDatabase.getInstance().networkFavExists(mrl) ?
R.drawable.abc_btn_check_to_on_mtrl_015 :
R.drawable.abc_btn_check_to_on_mtrl_000);
R.drawable.ic_menu_bookmark_w :
R.drawable.ic_menu_bookmark_outline_w);
}
else
......@@ -650,7 +650,7 @@ public class MainActivity extends ActionBarActivity implements OnItemClickListen
if (current == null)
break;
((NetworkFragment)current).toggleFavorite();
item.setIcon(R.drawable.abc_btn_check_to_on_mtrl_015);
item.setIcon(R.drawable.ic_menu_bookmark_w);
break;
}
mRootContainer.closeDrawer(mSideMenu);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment