👽 Update publisher api
This commit is contained in:
parent
3b1d291037
commit
f47f1b175a
@ -31,7 +31,7 @@ class _PublisherScreenState extends State<PublisherScreen> {
|
||||
setState(() => _isBusy = true);
|
||||
|
||||
try {
|
||||
final resp = await sn.client.get('/cgi/co/publishers');
|
||||
final resp = await sn.client.get('/cgi/co/publishers/me');
|
||||
final List<SnPublisher> out = List<SnPublisher>.from(
|
||||
resp.data?.map((e) => SnPublisher.fromJson(e)) ?? []);
|
||||
|
||||
|
@ -145,6 +145,7 @@ class _PostSearchScreenState extends State<PostSearchScreen> {
|
||||
padding: const WidgetStatePropertyAll(
|
||||
EdgeInsets.symmetric(horizontal: 24),
|
||||
),
|
||||
onTapOutside: (_) => FocusManager.instance.primaryFocus?.unfocus(),
|
||||
onChanged: (value) {
|
||||
_searchTerm = value;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user