mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 13:29:50 +02:00
Minor bugs fixed. Fixed circular progress bar background in UserListingFragment and SubredditListFragment.
This commit is contained in:
@@ -43,7 +43,7 @@ public class ParseUserData {
|
||||
this.parseUserDataListener = parseUserDataListener;
|
||||
parseFailed = false;
|
||||
} catch (JSONException e) {
|
||||
Log.i("userdata json error", e.getMessage());
|
||||
Log.i("userdata json error", "error: " + e.getMessage());
|
||||
parseUserDataListener.onParseUserDataFailed();
|
||||
}
|
||||
}
|
||||
@@ -54,7 +54,7 @@ public class ParseUserData {
|
||||
userData = parseUserDataBase(jsonResponse);
|
||||
} catch (JSONException e) {
|
||||
parseFailed = true;
|
||||
Log.i("parse user data error", e.getMessage());
|
||||
Log.i("parse user data error", "error: " + e.getMessage());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
@@ -86,7 +86,7 @@ public class ParseUserData {
|
||||
parseFailed = false;
|
||||
userDataArrayList = new ArrayList<>();
|
||||
} catch (JSONException e) {
|
||||
Log.i("userdata json error", e.getMessage());
|
||||
Log.i("userdata json error", "error: " + e.getMessage());
|
||||
parseFailed = true;
|
||||
}
|
||||
}
|
||||
@@ -103,7 +103,7 @@ public class ParseUserData {
|
||||
}
|
||||
} catch (JSONException e) {
|
||||
parseFailed = true;
|
||||
Log.i("parse user data error", e.getMessage());
|
||||
Log.i("parse user data error", "error: " + e.getMessage());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
@@ -78,7 +78,7 @@ public class UserListingDataSource extends PageKeyedDataSource<String, UserData>
|
||||
this.params = params;
|
||||
this.callback = callback;
|
||||
|
||||
if(params.key.equals("null")) {
|
||||
if(params.key.equals("null") || params.key.equals("")) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -13,9 +13,9 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:background="@color/backgroundColor"
|
||||
app:mlpb_progress_stoke_width="3dp"
|
||||
app:mlpb_progress_color="@color/colorAccent"
|
||||
app:mlpb_background_color="@color/circularProgressBarBackground"
|
||||
android:layout_gravity="center_horizontal"/>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
|
@@ -13,9 +13,9 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:background="@color/backgroundColor"
|
||||
app:mlpb_progress_stoke_width="3dp"
|
||||
app:mlpb_progress_color="@color/colorAccent"
|
||||
app:mlpb_background_color="@color/circularProgressBarBackground"
|
||||
android:layout_gravity="center_horizontal"/>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
|
Reference in New Issue
Block a user