mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-07 03:07:26 +01:00
Minor bugs fixed.
This commit is contained in:
parent
5713982e8f
commit
101525ae33
@ -1216,9 +1216,12 @@ public class ViewPostDetailFragment extends Fragment implements FragmentCommunic
|
||||
sortType, APIUtils.getOAuthHeader(mAccessToken));
|
||||
}
|
||||
}
|
||||
postAndComments.enqueue(new Callback<String>() {
|
||||
postAndComments.enqueue(new Callback<>() {
|
||||
@Override
|
||||
public void onResponse(@NonNull Call<String> call, @NonNull Response<String> response) {
|
||||
if (!isAdded()) {
|
||||
return;
|
||||
}
|
||||
mSwipeRefreshLayout.setRefreshing(false);
|
||||
|
||||
if (response.isSuccessful()) {
|
||||
@ -1344,8 +1347,10 @@ public class ViewPostDetailFragment extends Fragment implements FragmentCommunic
|
||||
|
||||
@Override
|
||||
public void onFailure(@NonNull Call<String> call, @NonNull Throwable t) {
|
||||
if (isAdded()) {
|
||||
showErrorView(subredditId);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -99,7 +99,7 @@
|
||||
<string name="karma_info_user_detail">"Карма:
|
||||
%1$d (%2$d + %3$d)"</string>
|
||||
<string name="cakeday_info">"День торта:
|
||||
%1$d"</string>
|
||||
%1$s"</string>
|
||||
<string name="since">"Від:"</string>
|
||||
<string name="profile">"Профіль"</string>
|
||||
<string name="subscriptions">"Підписки"</string>
|
||||
|
Loading…
Reference in New Issue
Block a user