added macos support and changed gridview count for iphone and macos

main
Oeyuu 2024-06-07 20:43:03 +02:00
parent 5d1cfd60e8
commit 1a3e92483f
3 changed files with 6 additions and 5 deletions

View File

@ -58,14 +58,15 @@ class _PlayerGridViewState extends State<PlayerGridView> {
body: Container(
color: isNight
? const Color(0xff2d2d2d)
: Color.fromARGB(255, 194, 216, 225),
: const Color.fromARGB(255, 194, 216, 225),
padding: const EdgeInsets.only(left: 15, right: 15),
child: Column(
children: [
Expanded(
child: GridView.builder(
gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount(
crossAxisCount: 2,
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
crossAxisCount:
MediaQuery.of(context).size.shortestSide < 600 ? 2 : 4,
mainAxisSpacing: 10,
crossAxisSpacing: 10,
),

View File

@ -227,7 +227,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0920;
LastUpgradeCheck = 1300;
LastUpgradeCheck = 1510;
ORGANIZATIONNAME = "";
TargetAttributes = {
331C80D4294CF70F00263BE5 = {

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1300"
LastUpgradeVersion = "1510"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"