175 Fixed issue back button android return to login page (#193)

* Back button is no longer return to login page

* Update to material 3

* Update to material 3

* Up version for deployment

* Added F-droid changelog
This commit is contained in:
Alex
2022-05-29 17:32:30 -05:00
committed by GitHub
parent b34de624ce
commit a3b45d62b6
12 changed files with 79 additions and 53 deletions

View File

@@ -109,7 +109,7 @@ class ImmichSliverAppBar extends ConsumerWidget {
? const Icon(Icons.backup_rounded)
: Badge(
padding: const EdgeInsets.all(4),
elevation: 1,
elevation: 2,
position: BadgePosition.bottomEnd(bottom: -4, end: -4),
badgeColor: Colors.white,
badgeContent: const Icon(
@@ -117,7 +117,6 @@ class ImmichSliverAppBar extends ConsumerWidget {
size: 8,
),
child: const Icon(Icons.backup_rounded)),
tooltip: 'Backup Controller',
onPressed: () async {
var onPop = await AutoRouter.of(context).push(const BackupControllerRoute());

View File

@@ -153,7 +153,6 @@ class ProfileDrawer extends HookConsumerWidget {
),
],
),
const Padding(padding: EdgeInsets.all(8)),
Text(
"${_authState.firstName} ${_authState.lastName}",
style: TextStyle(
@@ -162,12 +161,9 @@ class ProfileDrawer extends HookConsumerWidget {
fontSize: 24,
),
),
Padding(
padding: const EdgeInsets.only(top: 4.0),
child: Text(
_authState.userEmail,
style: TextStyle(color: Colors.grey[800], fontSize: 12),
),
Text(
_authState.userEmail,
style: TextStyle(color: Colors.grey[800], fontSize: 12),
)
],
),