Browse Source

Merge pull request #79 from jld3103/cleanup/remove-app-settings-from-appbar

neon: Remove app settings from appbar
pull/81/head
jld3103 2 years ago committed by GitHub
parent
commit
75e0dcc776
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      packages/neon/lib/src/pages/home/home.dart

15
packages/neon/lib/src/pages/home/home.dart

@ -678,20 +678,6 @@ class _HomePageState extends State<HomePage> with tray.TrayListener, WindowListe
], ],
), ),
actions: [ actions: [
if (appsData != null && activeAppIDSnapshot.hasData) ...[
IconButton(
icon: const Icon(Icons.settings),
onPressed: () async {
await Navigator.of(context).push(
MaterialPageRoute(
builder: (final context) => NextcloudAppSpecificSettingsPage(
appImplementation: appsData
.singleWhere((final a) => a.id == activeAppIDSnapshot.data!),
),
),
);
},
),
IconButton( IconButton(
icon: IntrinsicWidth( icon: IntrinsicWidth(
child: AccountAvatar( child: AccountAvatar(
@ -710,7 +696,6 @@ class _HomePageState extends State<HomePage> with tray.TrayListener, WindowListe
}, },
), ),
], ],
],
), ),
body: Row( body: Row(
children: [ children: [

Loading…
Cancel
Save