Небольшие исправления

This commit is contained in:
Ivan Murashov
2017-07-24 19:45:04 +03:00
parent 080c7ec471
commit ff0573d65d
5 changed files with 69 additions and 87 deletions

View File

@@ -28,14 +28,13 @@ const String active_token_bg_png = 'assets/active_token_message_background.png';
const Color primaryColor = const Color(0xffeb0004);
const Color greyTextColor = const Color(0xffa5a5a5);
const Color textBorderColor = const Color(0xffcfd8dc);
const Color textFieldBackground = const Color(0xffefefef);
const Color tokenActiveTextColor = const Color(0xff1f5a1f);
const Color tokenActivateTextColor = const Color(0xff4e3a19);
const Color greenBackground = const Color(0xff8ae28a);
// Dimens
const double verticalMargin = 28.0;
const double buttonVerticalMargin = 64.0;
const double buttonVerticalMargin = 42.0;
const double buttonHeight = 48.0;
const double iconHeight = 20.0;
@@ -81,7 +80,7 @@ startScanner(BuildContext context) async {
logout(BuildContext context) {
String url = intUrl + 'tokens/' + 'khooi' + '?_dmapptoken=' + intToken;
String url = intUrl + 'tokens/' + token + '?_dmapptoken=' + intToken;
print(url);
httpClient.delete(url).then((response) {
print(response.body);