Skip to content

Commit

Permalink
[Exposed-UI] fix compiler error.
Browse files Browse the repository at this point in the history
  • Loading branch information
维术 committed Jan 12, 2018
1 parent 0aee003 commit 0647c99
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.StaggeredGridLayoutManager;
import android.support.v7.widget.helper.ItemTouchHelper;
import android.text.SpannableString;
import android.text.util.Linkify;
import android.view.ContextThemeWrapper;
import android.view.Menu;
import android.view.View;
Expand Down Expand Up @@ -147,8 +145,6 @@ private void initMenu() {
Menu menu = mPopupMenu.getMenu();
setIconEnable(menu, true);

final SpannableString s = new SpannableString(getResources().getString(R.string.menu_feedback_string));
Linkify.addLinks(s, Linkify.ALL);
menu.add(getResources().getString(R.string.menu_about)).setIcon(R.drawable.ic_settings).setOnMenuItemClickListener(item -> {
startActivity(new Intent(HomeActivity.this, AboutActivity.class));
return true;
Expand Down

0 comments on commit 0647c99

Please sign in to comment.