Fix crash for offline mode org labels (#804)
Merge branch 'master' into fix-offline-org-labels Fix crash for offline mode org labels Co-authored-by: M M Arif <mmarif@swatian.com> Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/804 Reviewed-by: opyale <opyale@noreply.codeberg.org> Co-Authored-By: M M Arif <mmarif@noreply.codeberg.org> Co-Committed-By: M M Arif <mmarif@noreply.codeberg.org>
This commit is contained in:
parent
b75bf84d43
commit
8c62ecadbc
@ -28,7 +28,7 @@ public class OrganizationLabelsViewModel extends ViewModel {
|
||||
public LiveData<List<Labels>> getOrgLabelsList(String token, String owner, Context ctx, ProgressBar progressBar, TextView noData) {
|
||||
|
||||
orgLabelsList = new MutableLiveData<>();
|
||||
loadOrgLabelsList(token, owner, ctx, progressBar = null, noData = null);
|
||||
loadOrgLabelsList(token, owner, ctx, progressBar, noData);
|
||||
|
||||
return orgLabelsList;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user