fix: zkouším spravit vzhled na ios

This commit is contained in:
Matyáš Caras 2023-09-12 21:02:43 +02:00
parent 0b5967271a
commit d3256d969f
Signed by untrusted user who does not match committer: hernik
GPG key ID: 2A3175F98820C5C6
4 changed files with 14 additions and 1768 deletions

View file

@ -1 +0,0 @@
module.exports = {extends: ['@commitlint/config-conventional']}

View file

@ -144,18 +144,21 @@ class MyApp extends StatelessWidget {
colorScheme: darkColorScheme), colorScheme: darkColorScheme),
home: const LoginPage(), home: const LoginPage(),
) )
: const CupertinoApp( : Theme(
debugShowCheckedModeBanner: false, data: ThemeData(useMaterial3: true, colorScheme: lightColorScheme),
localizationsDelegates: [ child: const CupertinoApp(
AppLocalizations.delegate, debugShowCheckedModeBanner: false,
...GlobalMaterialLocalizations.delegates localizationsDelegates: [
], AppLocalizations.delegate,
supportedLocales: AppLocalizations.supportedLocales, ...GlobalMaterialLocalizations.delegates
title: "OpenCanteen", ],
theme: CupertinoThemeData( supportedLocales: AppLocalizations.supportedLocales,
primaryColor: Colors.purple, title: "OpenCanteen",
theme: CupertinoThemeData(
primaryColor: Colors.purple,
),
home: LoginPage(),
), ),
home: LoginPage(),
); );
} }
} }

View file

@ -1,12 +0,0 @@
{
"devDependencies": {
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.0",
"cz-conventional-changelog": "^3.3.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}

File diff suppressed because it is too large Load diff