[pve-devel] applied: [PATCH proxmox_login_manager] fix: ui: remove `SafeArea` to avoid black background in status bar

Dominik Csapak d.csapak at proxmox.com
Wed May 21 14:30:55 CEST 2025


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.shaji at proxmox.com>
> ---
>   lib/proxmox_login_selector.dart | 264 ++++++++++++++++----------------
>   1 file changed, 130 insertions(+), 134 deletions(-)
> 
>

applied with Michael's Tested-by, thanks!




More information about the pve-devel mailing list