happy ending

This commit is contained in:
baroni31
2026-05-20 22:08:30 +01:00
parent 3b93cffd38
commit 20f3c821ca
24 changed files with 60 additions and 56 deletions

View File

@@ -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),

View File

@@ -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(