mirror of
https://github.com/Docile-Alligator/Infinity-For-Reddit.git
synced 2026-02-06 17:15:49 +00:00
Minor bugs fixed in PostFragment.
This commit is contained in:
@ -161,7 +161,7 @@ public interface RedditAPI {
|
||||
@POST("{subredditNamePrefixed}/api/selectflair")
|
||||
Call<String> selectFlair(@Path("subredditNamePrefixed") String subredditName, @HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params);
|
||||
|
||||
@GET("/message/{where}.json?raw_json=1")
|
||||
@GET("/message/{where}.json?raw_json=1&limit=100")
|
||||
Call<String> getMessages(@HeaderMap Map<String, String> headers, @Path("where") String where, @Query("after") String after);
|
||||
|
||||
@FormUrlEncoded
|
||||
|
||||
@ -1385,7 +1385,9 @@ public class PostFragment extends PostFragmentBase implements FragmentCommunicat
|
||||
|
||||
@Override
|
||||
public void onDestroy() {
|
||||
binding.recyclerViewPostFragment.addOnWindowFocusChangedListener(null);
|
||||
if (mAdapter != null && binding.recyclerViewPostFragment != null) {
|
||||
binding.recyclerViewPostFragment.addOnWindowFocusChangedListener(null);
|
||||
}
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user