happy ending
This commit is contained in:
@@ -27,7 +27,6 @@ class _DiscoverPageState extends ConsumerState<DiscoverPage> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final theme = Theme.of(context);
|
||||
final discoverAsync = ref.watch(discoverDataProvider);
|
||||
|
||||
return RiotzScaffold(
|
||||
@@ -225,7 +224,7 @@ class _DiscoveryGridTile extends StatelessWidget {
|
||||
right: 0,
|
||||
child: Container(
|
||||
padding: const EdgeInsets.all(8),
|
||||
color: AppColors.black.withOpacity(0.7),
|
||||
color: AppColors.black.withValues(alpha: 0.7),
|
||||
child: Text(
|
||||
post.username.toUpperCase(),
|
||||
style: const TextStyle(fontSize: 10, fontWeight: FontWeight.bold),
|
||||
|
||||
@@ -15,7 +15,6 @@ class DiscoverScreen extends ConsumerStatefulWidget {
|
||||
|
||||
class _DiscoverScreenState extends ConsumerState<DiscoverScreen> {
|
||||
final _searchController = TextEditingController();
|
||||
String _query = '';
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
@@ -43,7 +42,7 @@ class _DiscoverScreenState extends ConsumerState<DiscoverScreen> {
|
||||
prefixIcon: Icon(Icons.search, color: AppColors.white),
|
||||
hintText: 'SEARCH THE VOID...',
|
||||
),
|
||||
onChanged: (value) => setState(() => _query = value.trim()),
|
||||
onChanged: (_) {},
|
||||
),
|
||||
const SizedBox(height: 32),
|
||||
discoverAsync.when(
|
||||
|
||||
Reference in New Issue
Block a user