Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't change app bar colour when scrolling #2594

Merged
merged 1 commit into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading