Crypto iOS

This commit is contained in:
vtretyakov
2019-01-25 11:16:56 +07:00
parent d499269940
commit 7064454507
10 changed files with 47 additions and 33 deletions

View File

@@ -5,16 +5,11 @@ class Resources {
static String getLogo(String app) => 'assets/${app}_logo.png';
static String getSplash(String app) {
if (app == 'autobonus') {
return 'assets/${app}_splash.png';
} else {
return 'assets/dinect_splash.png';
}
}
static Color getPrimaryColor(String app) {
switch (app) {
case 'pip': return new Color(0xff008794);
case 'autobonus': return new Color(0xffeb0004);
case 'dinect': return new Color(0xff3daee3);
case 'crypto': return new Color(0xff0f3d87);
@@ -25,13 +20,11 @@ class Resources {
static Color getButtonColor(String app) {
switch (app) {
case 'pip': return new Color(0xfff49935);
case 'autobonus': return new Color(0xffeb0004);
case 'dinect': return new Color(0xff33cc99);
case 'crypto': return new Color(0xffffc34d);
case 'biohacker': return new Color(0xffff6134);
default: return new Color(0xffffffff);
}
}
}