correct strings
This commit is contained in:
+1
-1
@@ -280,7 +280,7 @@ class BrowserBottomAppBar extends HookConsumerWidget {
|
|||||||
child: Consumer(
|
child: Consumer(
|
||||||
builder: (context, ref, child) {
|
builder: (context, ref, child) {
|
||||||
final profile = ref.watch(selectedProfileProvider);
|
final profile = ref.watch(selectedProfileProvider);
|
||||||
return Text(profile.value?.name ?? 'Profile');
|
return Text(profile.value?.name ?? 'User');
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ class ProfileListScreen extends HookConsumerWidget {
|
|||||||
final usersAsync = ref.watch(profileRepositoryProvider);
|
final usersAsync = ref.watch(profileRepositoryProvider);
|
||||||
|
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(title: const Text('Profiles')),
|
appBar: AppBar(title: const Text('Users')),
|
||||||
body: usersAsync.when(
|
body: usersAsync.when(
|
||||||
data: (profiles) => ListView.builder(
|
data: (profiles) => ListView.builder(
|
||||||
itemCount: profiles.length,
|
itemCount: profiles.length,
|
||||||
|
|||||||
Reference in New Issue
Block a user