Browse Source

refresh page after edit

pull/30/head
Thodoris1999 7 years ago
parent
commit
5417786edc
  1. 6
      app/src/main/java/gr/thmmy/mthmmy/activities/topic/TopicActivity.java

6
app/src/main/java/gr/thmmy/mthmmy/activities/topic/TopicActivity.java

@ -1156,6 +1156,12 @@ public class TopicActivity extends BaseActivity {
Toast.makeText(TopicActivity.this, "Post failed!", Toast.LENGTH_SHORT).show(); Toast.makeText(TopicActivity.this, "Post failed!", Toast.LENGTH_SHORT).show();
paginationEnabled(true); paginationEnabled(true);
replyFAB.setEnabled(true); replyFAB.setEnabled(true);
if (result) {
topicTask = new TopicTask();
reloadingPage = true;
topicTask.execute(loadedPageUrl);
}
} }
} }
} }
Loading…
Cancel
Save