Skip to content

Commit

Permalink
Alert Sent list...OK
Browse files Browse the repository at this point in the history
  • Loading branch information
kennest committed Aug 27, 2018
1 parent a172fb5 commit 84fbffe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ public void onComplete() {
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
restart();
finish();
}
}, 1000);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,8 @@ public View getView(int i, View view, ViewGroup parent) {
AlertData item=dataList.get(i);
image.setImageResource(R.drawable.add_pic);
title.setText(item.getTitre());
if(item.getContenu().length()>25) {
item.getContenu().substring(0,25);
content.setText(item.getContenu()+"...");
if(item.getContenu().length()>35) {
content.setText(item.getContenu().substring(0,35)+"...");
}else{
content.setText(item.getContenu());
}
Expand Down

0 comments on commit 84fbffe

Please sign in to comment.