mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-14 22:12:53 +00:00
Implemented new router
This commit is contained in:
parent
621171c5b1
commit
96fe7eb730
17 changed files with 985 additions and 1090 deletions
|
@ -17,6 +17,7 @@ class LogTile extends StatelessWidget {
|
|||
final bool? isLogSelected;
|
||||
final void Function(Log) onLogTap;
|
||||
final bool? useAlwaysNormalTile;
|
||||
final bool twoColumns;
|
||||
|
||||
const LogTile({
|
||||
Key? key,
|
||||
|
@ -25,7 +26,8 @@ class LogTile extends StatelessWidget {
|
|||
required this.index,
|
||||
this.isLogSelected,
|
||||
required this.onLogTap,
|
||||
this.useAlwaysNormalTile
|
||||
this.useAlwaysNormalTile,
|
||||
required this.twoColumns,
|
||||
}) : super(key: key);
|
||||
|
||||
@override
|
||||
|
@ -83,7 +85,7 @@ class LogTile extends StatelessWidget {
|
|||
}
|
||||
}
|
||||
|
||||
if (width > 1100 && !(useAlwaysNormalTile == true)) {
|
||||
if (twoColumns && !(useAlwaysNormalTile == true)) {
|
||||
return Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 12),
|
||||
child: InkWell(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue