Removed an unused preference check

pull/14/head
Sam Bosley 12 years ago
parent 9a3068b37e
commit 8a9554a30a

@ -374,9 +374,6 @@
<!-- addtocalendar: labels that map EPr_default_addtocalendar items to calendar selection in settings. --> <!-- addtocalendar: labels that map EPr_default_addtocalendar items to calendar selection in settings. -->
<item>-1</item> <item>-1</item>
</string-array> </string-array>
<!-- show task decorations (corresponds to showing notes icon in the task adapter) -->
<string name="p_default_showdecorations_key">p_show_decorations</string>
<!-- ============================================================ SYNC == --> <!-- ============================================================ SYNC == -->

@ -501,10 +501,6 @@ public class TaskAdapter extends CursorAdapter implements Filterable {
if(Math.abs(DateUtilities.now() - task.getValue(Task.MODIFICATION_DATE)) < 2000L) if(Math.abs(DateUtilities.now() - task.getValue(Task.MODIFICATION_DATE)) < 2000L)
mostRecentlyMade = task.getId(); mostRecentlyMade = task.getId();
if (Preferences.getBoolean(R.string.p_default_showdecorations_key, false)) {
decorationManager.request(viewHolder);
}
} }
@SuppressWarnings("nls") @SuppressWarnings("nls")

Loading…
Cancel
Save