Skip to content

Commit

Permalink
fixed empty text from ssfs
Browse files Browse the repository at this point in the history
  • Loading branch information
gdlbo committed Sep 30, 2023
1 parent 540fffd commit f5180f6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/src/main/java/ru/vtosters/hooks/ssfs/ProfileHook.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ public static void fetchInfo(ExtendedUserProfile extendedUserProfile, JSONObject

if (UsersList.hasDescription(userID)) {
try {
extendedUserProfile.z2 = Handler.getDescription(userID);
String description = Handler.getDescription(userID);
if (!TextUtils.isEmpty(description)) {
extendedUserProfile.z2 = description;
}
} catch (NullPointerException e) {
Log.e(TAG, "null \"profiles\" node\n" + e);
}
Expand Down

0 comments on commit f5180f6

Please sign in to comment.