mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-03-11 02:50:40 +01:00
fix: Status bar on Android tablets invisible
This commit is contained in:
parent
b9c4edafcf
commit
f7ec11a592
@ -10,6 +10,12 @@ class EmptyPage extends StatelessWidget {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
final _width = min(MediaQuery.of(context).size.width, EmptyPage._width);
|
final _width = min(MediaQuery.of(context).size.width, EmptyPage._width);
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
|
// Add invisible appbar to make status bar on Android tablets bright.
|
||||||
|
appBar: AppBar(
|
||||||
|
automaticallyImplyLeading: false,
|
||||||
|
elevation: 0,
|
||||||
|
),
|
||||||
|
extendBodyBehindAppBar: true,
|
||||||
body: Column(
|
body: Column(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user