From 0e557f80e825f81a7e3ab4a542b136042d2a3d7f Mon Sep 17 00:00:00 2001 From: Tim Su Date: Fri, 2 Sep 2011 17:12:48 -0700 Subject: [PATCH] don't show the popover every single time --- astrid/src/com/todoroo/astrid/activity/TaskListActivity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/astrid/src/com/todoroo/astrid/activity/TaskListActivity.java b/astrid/src/com/todoroo/astrid/activity/TaskListActivity.java index 572228026..137e240f5 100644 --- a/astrid/src/com/todoroo/astrid/activity/TaskListActivity.java +++ b/astrid/src/com/todoroo/astrid/activity/TaskListActivity.java @@ -793,12 +793,13 @@ public class TaskListActivity extends ListActivity implements OnScrollListener, private void showHelpPopover() { if (!Preferences.getBoolean(R.string.p_showed_tap_task_help, false)) { + Preferences.setBoolean(R.string.p_showed_tap_task_help, true); InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(quickAddBox.getWindowToken(), 0); getListView().postDelayed(new Runnable() { public void run() { final View view = getListView().getChildAt(getListView().getChildCount() - 1); - HelpInfoPopover popover = HelpInfoPopover.showPopover(TaskListActivity.this, view, R.string.help_popover_tap_task); + HelpInfoPopover.showPopover(TaskListActivity.this, view, R.string.help_popover_tap_task); } }, 1000L);