mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-05 04:40:37 +00:00
Fixed issue bottomsheets low height situations and changed color custom list tiles
This commit is contained in:
parent
3552bbced6
commit
6f9b16e94f
21 changed files with 655 additions and 632 deletions
|
@ -36,12 +36,8 @@ class _ThemeModalState extends State<ThemeModal> {
|
|||
Widget build(BuildContext context) {
|
||||
final appConfigProvider = Provider.of<AppConfigProvider>(context);
|
||||
|
||||
final mediaQuery = MediaQuery.of(context);
|
||||
|
||||
return Container(
|
||||
height: mediaQuery.orientation == Orientation.landscape
|
||||
? mediaQuery.size.height - (widget.statusBarHeight)
|
||||
: Platform.isIOS ? 408 : 388,
|
||||
height: 395,
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: const BorderRadius.only(
|
||||
topLeft: Radius.circular(30),
|
||||
|
@ -51,12 +47,14 @@ class _ThemeModalState extends State<ThemeModal> {
|
|||
),
|
||||
child: Column(
|
||||
children: [
|
||||
SizedBox(
|
||||
height: 300,
|
||||
child: Column(
|
||||
Expanded(
|
||||
child: ListView(
|
||||
physics: 395 < MediaQuery.of(context).size.height
|
||||
? const NeverScrollableScrollPhysics()
|
||||
: null,
|
||||
children: [
|
||||
const Padding(
|
||||
padding: EdgeInsets.only(top: 24),
|
||||
padding: EdgeInsets.only(top: 28),
|
||||
child: Icon(
|
||||
Icons.light_mode_rounded,
|
||||
size: 26,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue