toast context判断 禁止context.getString 操作
This commit is contained in:
@ -44,7 +44,7 @@ public class PostCommentUtils {
|
||||
listener.postSuccess(response);
|
||||
}
|
||||
} else {
|
||||
Utils.toast(context, context.getString(R.string.post_failure_hint));
|
||||
Utils.toast(context, R.string.post_failure_hint);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user