Added internet permission and better message from api call
This commit is contained in:
@@ -21,9 +21,9 @@ class _SettingsScreenState extends ConsumerState<SettingsScreen> {
|
||||
children: [
|
||||
const Text('Settings'),
|
||||
const SizedBox(height: 20),
|
||||
Text(user!.name),
|
||||
Text("Username: ${user.username ?? 'N/A'}"),
|
||||
Text("Email: ${user.email ?? 'N/A'}"),
|
||||
Text(user?.name ?? 'N/A'),
|
||||
Text("Username: ${user?.username ?? 'N/A'}"),
|
||||
Text("Email: ${user?.email ?? 'N/A'}"),
|
||||
Text("Family Code: ${family?.code ?? 'N/A'}"),
|
||||
const Spacer(),
|
||||
UiButton(
|
||||
|
||||
Reference in New Issue
Block a user