File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/src/main/java/cn/settile/fanboxviewer/Network Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ object FanboxParser {
254254 val items: MutableList <DetailItem > = ArrayList ()
255255 val req = getJSON(url)
256256 val body = req!! .getJSONObject(" body" )
257- if (body.getString(" restrictedFor " ) != " null" ) {
257+ if (body.getString(" feeRequired " ) != " null" ) {
258258 items.add(
259259 DetailItem (
260260 DetailItem .Type .TEXT ,
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ public List<DetailItem> getPostContent(String id) throws Exception{
106106 public List <DetailItem > getPostContent (JSONObject body ) throws Exception {
107107 List <DetailItem > items = new ArrayList <>();
108108
109- if (!body .getString ("restrictedFor " ).equals ("null" )){
109+ if (!body .getString ("feeRequired " ).equals ("null" )){
110110 items .add (new DetailItem (DetailItem .Type .TEXT ,
111111 String .format (c .getString (R .string .plan_formatting ), body .getInt ("feeRequired" ))));
112112 items .add (new DetailItem (DetailItem .Type .IMAGE , "false" ));
You can’t perform that action at this time.
0 commit comments