Добавил ресурсы приложения PIP, иконка приложения устанавливается при сборке
This commit is contained in:
@@ -118,7 +118,7 @@ abstract class BaseState<T extends StatefulWidget> extends State<T> {
|
||||
return new RaisedButton(child: new Text(text,
|
||||
style: new TextStyle(color: Colors.white)),
|
||||
onPressed: onPressed,
|
||||
color: primaryColor);
|
||||
color: buttonColor);
|
||||
}
|
||||
|
||||
/// Метод возвращает контейнер с отступами, который содержит картинку с логотипом.
|
||||
|
||||
@@ -7,7 +7,7 @@ const String url = 'https://pos-api-int.dinect.com/20130701/';
|
||||
const String appToken = '9fec83cdca38c357e6b65dbb17514cdd36bf2a08';
|
||||
|
||||
// Assets
|
||||
const String logo_png = 'assets/registration_logo.png';
|
||||
const String logo_png = 'assets/pip_logo.png';
|
||||
const String splash_png = 'assets/splash.png';
|
||||
const String logout_png = 'assets/logout.png';
|
||||
const String activate_token_bg_png = 'assets/activate_token_message_background.png';
|
||||
@@ -18,7 +18,11 @@ const String powered_by_dinect_png = 'assets/powered_by_dinect.png';
|
||||
const String splash_text_png = 'assets/splash_text.png';
|
||||
|
||||
// Colors
|
||||
const Color primaryColor = const Color(0xffeb0004);
|
||||
//const Color primaryColor = const Color(0xffeb0004);
|
||||
//const Color buttonColor = const Color(0xffeb0004);
|
||||
|
||||
const Color primaryColor = const Color(0xff008794);
|
||||
const Color buttonColor = const Color(0xfff49935);
|
||||
const Color greyTextColor = const Color(0xffa5a5a5);
|
||||
const Color textBorderColor = const Color(0xffcfd8dc);
|
||||
const Color tokenActiveTextColor = const Color(0xff1f5a1f);
|
||||
|
||||
@@ -70,7 +70,7 @@ class PurchaseScreenState<T> extends BaseState<PurchaseScreen> {
|
||||
|
||||
getDecorationForScanButton() {
|
||||
return new BoxDecoration(
|
||||
border: new Border.all(color: primaryColor, width: 1.0),
|
||||
border: new Border.all(color: buttonColor, width: 1.0),
|
||||
borderRadius: new BorderRadius.all(new Radius.circular(4.0)));
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ class SplashScreen extends StatelessWidget {
|
||||
platform.invokeMethod("getLocale").then((locale) {
|
||||
Intl.defaultLocale = locale;
|
||||
print(Intl.defaultLocale);
|
||||
showNextScreen(context);
|
||||
// showNextScreen(context);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user