mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-04 12:24:47 +00:00
Ui improvements and iOS improvements
This commit is contained in:
parent
156b6a12e3
commit
a736516e7b
29 changed files with 245 additions and 161 deletions
|
@ -1,3 +1,5 @@
|
|||
import 'dart:io';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:expandable/expandable.dart';
|
||||
import 'package:flutter/rendering.dart';
|
||||
|
@ -69,6 +71,7 @@ class _ServersState extends State<Servers> {
|
|||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text(AppLocalizations.of(context)!.servers),
|
||||
centerTitle: false,
|
||||
),
|
||||
body: Stack(
|
||||
children: [
|
||||
|
@ -83,7 +86,7 @@ class _ServersState extends State<Servers> {
|
|||
curve: Curves.easeInOut,
|
||||
bottom: isVisible ?
|
||||
appConfigProvider.showingSnackbar
|
||||
? 70 : 20
|
||||
? 70 : (Platform.isIOS ? 40 : 20)
|
||||
: -70,
|
||||
right: 20,
|
||||
child: FloatingActionButton(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue