kopia lustrzana https://gitlab.com/mysocialportal/relatica
Fix hierarchical comments not showing
rodzic
22fcb29370
commit
73a8f783a0
|
@ -55,6 +55,7 @@ class _StatusControlState extends State<StatusControl> {
|
|||
@override
|
||||
void initState() {
|
||||
showContent = entry.spoilerText.isEmpty;
|
||||
showComments = isPost ? false : true;
|
||||
}
|
||||
|
||||
@override
|
||||
|
|
|
@ -229,7 +229,7 @@ class FriendicaClient {
|
|||
return (await runCatchingAsync(() async {
|
||||
final baseUrl = 'https://$serverName/api/v1/statuses/$id';
|
||||
final url = fullContext ? '$baseUrl/context' : baseUrl;
|
||||
final request = Uri.parse(url);
|
||||
final request = Uri.parse('$url?limit=1000');
|
||||
_logger.finest(() =>
|
||||
'Getting entry for status $id, full context? $fullContext : $url');
|
||||
return (await _getApiRequest(request).andThenSuccessAsync((json) async {
|
||||
|
|
Ładowanie…
Reference in New Issue