Added checking for emoticons in favorites category
This commit is contained in:
parent
0380aafccd
commit
fa0a23450b
1 changed files with 3 additions and 1 deletions
|
@ -173,6 +173,8 @@ public class FavouritesDbHelper {
|
|||
String index = "";
|
||||
int number = 0;
|
||||
String name = checkEmoticons(p.getName());
|
||||
String category = checkEmoticons(p.getCategory());
|
||||
p.setCategory(category);
|
||||
if (name.length() != p.getName().length()){
|
||||
emoticons = true;
|
||||
}
|
||||
|
@ -202,7 +204,7 @@ public class FavouritesDbHelper {
|
|||
}
|
||||
}
|
||||
|
||||
private String checkEmoticons(String name){
|
||||
public String checkEmoticons(String name){
|
||||
char[] chars = name.toCharArray();
|
||||
int index;
|
||||
char ch1;
|
||||
|
|
Loading…
Reference in a new issue