Небольшие исправления
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user