feat: make ProfileFragment not reloadable when in edit mode
This commit is contained in:
parent
ac7c1c8497
commit
24df7d49d5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue