On 5/15/25 15:34, Shan Shaji wrote:
Since the `SafeArea` widget was wrapping the `Scaffold` widget, the
background color of the status bar was black rather than influenced by
the `AppBar` color.

This patch fixes it by removing the `SafeArea` widget. According to
flutter docs [0] when using `AppBar` with `Scaffold` the
appropriate spacing will be calculated at the top of the screen
without the needing to wrap the `Scaffold` in a `SafeArea` and the
status bar color will be influenced by the app bar color.

This patch also fixes the app name title alignment issue in iOS.

[0] - https://api.flutter.dev/flutter/material/AppBar-class.html?utm_source

Signed-off-by: Shan Shaji <s.sh...@proxmox.com>
---
  lib/proxmox_login_selector.dart | 264 ++++++++++++++++----------------
  1 file changed, 130 insertions(+), 134 deletions(-)



applied with Michael's Tested-by, thanks!


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to