@ -144,12 +144,14 @@ class AccountSettingsPage extends StatelessWidget {
return Scaffold(
resizeToAvoidBottomInset: false,
appBar: appBar,
body: Center(
body: SafeArea(
child: Center(
child: ConstrainedBox(
constraints: NeonDialogTheme.of(context).constraints,
child: body,
),
);
}
@ -157,7 +157,9 @@ class _HomePageState extends State<HomePage> {
return const SizedBox();
return activeAppIDSnapshot.requireData.page;
return SafeArea(
child: activeAppIDSnapshot.requireData.page,
},
@ -51,7 +51,8 @@ class _LoginPageState extends State<LoginPage> {
leading: const CloseButton(),
)
: null,
child: SingleChildScrollView(
@ -121,6 +122,7 @@ class _LoginPageState extends State<LoginPage> {
@ -54,7 +54,8 @@ class _LoginCheckAccountPageState extends State<LoginCheckAccountPage> {
@override
Widget build(final BuildContext context) => Scaffold(
appBar: AppBar(),
child: Padding(
padding: const EdgeInsets.all(10),
@ -110,6 +111,7 @@ class _LoginCheckAccountPageState extends State<LoginCheckAccountPage> {
Widget _buildAccountTile(final Result<Account> result) {
@ -51,7 +51,8 @@ class _LoginCheckServerStatusPageState extends State<LoginCheckServerStatusPage>
@ -90,6 +91,7 @@ class _LoginCheckServerStatusPageState extends State<LoginCheckServerStatusPage>
void _onContinue() {
@ -57,7 +57,8 @@ class _LoginFlowPageState extends State<LoginFlowPage> {
child: ResultBuilder.behaviorSubject(
@ -87,5 +88,6 @@ class _LoginFlowPageState extends State<LoginFlowPage> {
@ -23,7 +23,8 @@ class _LoginQRcodePageState extends State<LoginQRcodePage> {
body: ReaderWidget(
child: ReaderWidget(
codeFormat: Format.qrCode,
showGallery: false,
showToggleCamera: false,
@ -59,6 +60,7 @@ class _LoginQRcodePageState extends State<LoginQRcodePage> {
@ -61,12 +61,14 @@ class NextcloudAppSettingsPage extends StatelessWidget {
@ -59,8 +59,10 @@ class _RouteNotFoundPageState extends State<RouteNotFoundPage> {
child: Text(NeonLocalizations.of(context).errorRouteNotFound(widget.uri.toString())),
@ -370,12 +370,14 @@ class _SettingsPageState extends State<SettingsPage> {
@ -233,7 +233,9 @@ class _NotificationIconButtonState extends State<NotificationIconButton> {
],
body: app.page,
child: app.page,
await Navigator.of(context).push(
@ -16,7 +16,8 @@ class FilesDetailsPage extends StatelessWidget {
appBar: AppBar(
title: Text(details.name),
body: ListView(
child: ListView(
primary: true,
children: [
ColoredBox(
@ -70,5 +71,6 @@ class FilesDetailsPage extends StatelessWidget {
@ -167,7 +167,8 @@ class _NewsArticlePageState extends State<NewsArticlePage> {
body: widget.useWebView
child: widget.useWebView
? WebViewWidget(
controller: _webviewController!,
@ -190,5 +191,6 @@ class _NewsArticlePageState extends State<NewsArticlePage> {
@ -16,7 +16,8 @@ class NewsFeedPage extends StatelessWidget {
title: Text(feed.title),
body: NewsArticlesView(
child: NewsArticlesView(
bloc: NewsArticlesBloc(
bloc,
bloc.options,
@ -26,5 +27,6 @@ class NewsFeedPage extends StatelessWidget {
newsBloc: bloc,
@ -16,10 +16,12 @@ class NewsFolderPage extends StatelessWidget {
title: Text(folder.name),
body: NewsFolderView(
child: NewsFolderView(
bloc: bloc,
folder: folder,
floatingActionButton: NewsFeedFloatingActionButton(
folderID: folder.id,
@ -16,10 +16,12 @@ class NotesCategoryPage extends StatelessWidget {
title: Text(category.name.isNotEmpty ? category.name : NotesLocalizations.of(context).categoryUncategorized),
body: NotesView(
child: NotesView(
category: category.name,
floatingActionButton: NotesFloatingActionButton(
@ -141,7 +141,8 @@ class _NotesNotePageState extends State<NotesNotePage> {
body: GestureDetector(
child: GestureDetector(
onTap: () {
setState(() {
_showEditor = true;
@ -180,5 +181,6 @@ class _NotesNotePageState extends State<NotesNotePage> {