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>
Quickly tested this in my Android emulator to verify that all functionality on the login selector screen still worked as expected and there are no visual glitches from the removal of the SafeArea. Lgtm in portrait and landscape, did not notice any problems when navigating to other screens. Since I do not have an iOS device or a Mac available, I was unable to check the title alignment issue on iOS. Tested-by: Michael Köppl <m.koe...@proxmox.com> _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel