From 3ddf5ba259864bbe21d0fac601be4d1c0b419188 Mon Sep 17 00:00:00 2001 From: Juan Miguel Boyero Corral Date: Wed, 4 Apr 2012 01:10:30 +0000 Subject: [PATCH] Fixed content message visualization git-svn-id: https://forja.rediris.es/svn/cusl6-swadroid/trunk@257 5bc14d19-1e4b-4ba2-aa50-860af135f48c --- .../modules/notifications/NotificationsCursorAdapter.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SWADroid/src/es/ugr/swad/swadroid/modules/notifications/NotificationsCursorAdapter.java b/SWADroid/src/es/ugr/swad/swadroid/modules/notifications/NotificationsCursorAdapter.java index 6e3cee02..44b6170f 100644 --- a/SWADroid/src/es/ugr/swad/swadroid/modules/notifications/NotificationsCursorAdapter.java +++ b/SWADroid/src/es/ugr/swad/swadroid/modules/notifications/NotificationsCursorAdapter.java @@ -198,7 +198,12 @@ public class NotificationsCursorAdapter extends CursorAdapter { contentMsgText = context.getString(R.string.marksMsg); contentMsg.setText(contentMsgText); contentVisible[cursor.getPosition()] = true; + } else { + contentMsgText = ""; + contentMsg.setText(contentMsgText); + contentVisible[cursor.getPosition()] = false; } + if(contentVisible[cursor.getPosition()]) { contentMsg.setVisibility(View.VISIBLE); } else {