chore: Delete story only if can redact
This commit is contained in:
parent
5e9da22cf3
commit
3ac8973a9b
2 changed files with 10 additions and 5 deletions
|
|
@ -112,8 +112,8 @@ class SearchController extends State<Search> {
|
|||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
controller.text = VRouter.of(context).queryParameters['query'] ?? '';
|
||||
WidgetsBinding.instance?.addPostFrameCallback((_) async {
|
||||
controller.text = VRouter.of(context).queryParameters['query'] ?? '';
|
||||
final server = await Store().getItem(_serverStoreNamespace) as String?;
|
||||
if (server?.isNotEmpty ?? false) {
|
||||
this.server = server;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue