feat: make ProfileFragment not reloadable when in edit mode

This commit is contained in:
LucasGGamerM 2023-06-03 21:46:23 -03:00
parent ac7c1c8497
commit 24df7d49d5
1 changed files with 5 additions and 0 deletions

View File

@ -474,6 +474,11 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList
@Override
public void onRefresh(){
if(isInEditMode){
refreshing=false;
refreshLayout.setRefreshing(false);
return;
}
if(refreshing)
return;
refreshing=true;