|
|
|
@ -197,8 +197,8 @@ class _HomePageState extends State<HomePage> {
|
|
|
|
|
builder: (final context) { |
|
|
|
|
if (accountsSnapshot.hasData) { |
|
|
|
|
final accounts = accountsSnapshot.data!; |
|
|
|
|
final account = accounts.find(_account.id)!; |
|
|
|
|
|
|
|
|
|
final account = accounts.find(_account.id); |
|
|
|
|
if (account != null) { |
|
|
|
|
final isQuickBar = navigationMode == NavigationMode.quickBar; |
|
|
|
|
final drawer = Builder( |
|
|
|
|
builder: (final context) => Drawer( |
|
|
|
@ -543,7 +543,8 @@ class _HomePageState extends State<HomePage> {
|
|
|
|
|
Expanded( |
|
|
|
|
child: Center( |
|
|
|
|
child: Text( |
|
|
|
|
AppLocalizations.of(context).errorNoCompatibleNextcloudAppsFound, |
|
|
|
|
AppLocalizations.of(context) |
|
|
|
|
.errorNoCompatibleNextcloudAppsFound, |
|
|
|
|
textAlign: TextAlign.center, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -568,6 +569,7 @@ class _HomePageState extends State<HomePage> {
|
|
|
|
|
], |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return Container(); |
|
|
|
|
}, |
|
|
|
|
), |
|
|
|
|