update routes; small polishments
This commit is contained in:
@@ -138,7 +138,7 @@ class KagiScreen extends HookConsumerWidget {
|
||||
const Divider(),
|
||||
MenuItemButton(
|
||||
onPressed: () async {
|
||||
await context.push(BangRoute().location);
|
||||
await context.push(BangCategoriesRoute().location);
|
||||
},
|
||||
leadingIcon: const Icon(MdiIcons.exclamationThick),
|
||||
child: const Text('Bangs'),
|
||||
|
||||
@@ -37,7 +37,7 @@ class AppBarTitle extends HookConsumerWidget {
|
||||
Widget build(BuildContext context, WidgetRef ref) {
|
||||
final activeWebView = ref.watch(webViewTabControllerProvider);
|
||||
if (activeWebView == null) {
|
||||
return SizedBox.shrink();
|
||||
return const SizedBox.shrink();
|
||||
}
|
||||
|
||||
final page = useValueListenable(activeWebView.page);
|
||||
|
||||
@@ -18,7 +18,7 @@ import 'package:hooks_riverpod/hooks_riverpod.dart';
|
||||
class _InputField extends ConsumerWidget {
|
||||
final TextEditingController? controller;
|
||||
|
||||
const _InputField({required this.controller, super.key});
|
||||
const _InputField({required this.controller});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context, WidgetRef ref) {
|
||||
|
||||
Reference in New Issue
Block a user