mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-06 17:15:50 -06:00
Changed loading animation, directly accessible pages and updated translations
This commit is contained in:
@@ -182,14 +182,14 @@ class _HomePageState extends State<HomePage> {
|
||||
),
|
||||
label: S.of(context).bottomNavInboxPageLabel,
|
||||
),
|
||||
RouteDescription(
|
||||
icon: const Icon(Icons.settings_outlined),
|
||||
selectedIcon: Icon(
|
||||
Icons.settings,
|
||||
color: Theme.of(context).colorScheme.primary,
|
||||
),
|
||||
label: S.of(context).appDrawerSettingsLabel,
|
||||
),
|
||||
// RouteDescription(
|
||||
// icon: const Icon(Icons.settings_outlined),
|
||||
// selectedIcon: Icon(
|
||||
// Icons.settings,
|
||||
// color: Theme.of(context).colorScheme.primary,
|
||||
// ),
|
||||
// label: S.of(context).appDrawerSettingsLabel,
|
||||
// ),
|
||||
];
|
||||
final routes = <Widget>[
|
||||
MultiBlocProvider(
|
||||
@@ -222,7 +222,7 @@ class _HomePageState extends State<HomePage> {
|
||||
),
|
||||
child: const InboxPage(),
|
||||
),
|
||||
const SettingsPage(),
|
||||
// const SettingsPage(),
|
||||
];
|
||||
return MultiBlocListener(
|
||||
listeners: [
|
||||
@@ -270,7 +270,7 @@ class _HomePageState extends State<HomePage> {
|
||||
}
|
||||
return Scaffold(
|
||||
bottomNavigationBar: NavigationBar(
|
||||
labelBehavior: NavigationDestinationLabelBehavior.alwaysHide,
|
||||
labelBehavior: NavigationDestinationLabelBehavior.alwaysShow,
|
||||
elevation: 4.0,
|
||||
selectedIndex: _currentIndex,
|
||||
onDestinationSelected: _onNavigationChanged,
|
||||
|
||||
Reference in New Issue
Block a user