Skip to content

Commit

Permalink
fix: don't change app bar colour when scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
Restioson committed Jun 3, 2024
1 parent 921e9ed commit 97bcdba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions mobile/lib/common/app_bar_wrapper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class AppBarWrapper extends StatelessWidget {
return Container(
margin: const EdgeInsets.only(left: 10.0, right: 5.0),
child: AppBar(
scrolledUnderElevation: 0.0,
centerTitle: true,
elevation: 0,
backgroundColor: appBackgroundColor,
Expand Down
2 changes: 1 addition & 1 deletion mobile/lib/features/wallet/receive_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class _ReceiveScreenState extends State<ReceiveScreen> {

if (_paymentRequest == null) {
return Scaffold(
appBar: AppBar(title: const Text("Receive funds")),
appBar: AppBar(title: const Text("Receive funds"), scrolledUnderElevation: 0.0),
body: const Center(
child: SizedBox(width: 20, height: 20, child: CircularProgressIndicator())));
}
Expand Down
2 changes: 1 addition & 1 deletion mobile/lib/features/welcome/seed_import_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class SeedPhraseImporterState extends State<SeedPhraseImporter> {
var isImportDisabled = twelveWords.length < 12;

return Scaffold(
appBar: AppBar(title: const Text('Manual restore')),
appBar: AppBar(title: const Text('Manual restore'), scrolledUnderElevation: 0.0),
// this is needed to prevent an overflow when the keyboard is up
resizeToAvoidBottomInset: false,
body: Column(
Expand Down

0 comments on commit 97bcdba

Please sign in to comment.