fix(#307): use longs instead of ints in Pleroma/Akkoma instance poll configs

Who the hell had the idea to use longs for this >:C
This commit is contained in:
LucasGGamerM
2023-12-26 18:04:27 -03:00
parent d8cc578537
commit e0ff1f6725
3 changed files with 11 additions and 11 deletions

View File

@@ -219,7 +219,7 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList
if(!isOwnProfile)
loadRelationship();
else if (isInstanceAkkoma()) {
maxFields = getInstance().get().pleroma.metadata.fieldsLimits.maxFields;
maxFields = (int) getInstance().get().pleroma.metadata.fieldsLimits.maxFields;
}
}else{
profileAccountID=getArguments().getString("profileAccountID");