From fa1b1f062e791ca514837a8d4df01ec7d621f18e Mon Sep 17 00:00:00 2001 From: Jakub Kinst Date: Sun, 9 Aug 2015 08:42:44 +0200 Subject: [PATCH] Fix custom empty text --- library/src/main/java/cz/kinst/jakub/view/StatefulView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/src/main/java/cz/kinst/jakub/view/StatefulView.java b/library/src/main/java/cz/kinst/jakub/view/StatefulView.java index e6a8a38..66bc8b2 100644 --- a/library/src/main/java/cz/kinst/jakub/view/StatefulView.java +++ b/library/src/main/java/cz/kinst/jakub/view/StatefulView.java @@ -68,8 +68,8 @@ public void setEmptyText(@StringRes int resourceId) { public void setEmptyText(CharSequence emptyText) { - if(mDefaultOfflineText != null) - mDefaultOfflineText.setText(emptyText); + if(mDefaultEmptyText != null) + mDefaultEmptyText.setText(emptyText); }