diff --git a/lib/screens/account/publishers/publishers.dart b/lib/screens/account/publishers/publishers.dart index 5479996..9384821 100644 --- a/lib/screens/account/publishers/publishers.dart +++ b/lib/screens/account/publishers/publishers.dart @@ -31,7 +31,7 @@ class _PublisherScreenState extends State { 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 out = List.from( resp.data?.map((e) => SnPublisher.fromJson(e)) ?? []); diff --git a/lib/screens/post/post_search.dart b/lib/screens/post/post_search.dart index 9dc1b1b..b517d7d 100644 --- a/lib/screens/post/post_search.dart +++ b/lib/screens/post/post_search.dart @@ -145,6 +145,7 @@ class _PostSearchScreenState extends State { padding: const WidgetStatePropertyAll( EdgeInsets.symmetric(horizontal: 24), ), + onTapOutside: (_) => FocusManager.instance.primaryFocus?.unfocus(), onChanged: (value) { _searchTerm = value; },