production link changed
This commit is contained in:
parent
96c3755bb1
commit
dd6a1aa425
@ -1,7 +1,7 @@
|
|||||||
class AppConfig {
|
class AppConfig {
|
||||||
const AppConfig._();
|
const AppConfig._();
|
||||||
|
|
||||||
// static const String apiBaseUrl = 'https://api-tms-uat.kbzbank.com:8443';
|
static const String apiBaseUrl = 'https://api-tms.kbzbank.com/receipt';
|
||||||
static const String apiBaseUrl = 'https://receipt-nest.utsmyanmar.com';
|
// static const String apiBaseUrl = 'https://receipt-nest.utsmyanmar.com';
|
||||||
static const String apiSecret = 'y812J21lhha11OS';
|
static const String apiSecret = 'y812J21lhha11OS';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -44,6 +44,7 @@ class MerchantPagingViewModel extends StateNotifier<MerchantPagingState> {
|
|||||||
|
|
||||||
Timer? _searchDebounce;
|
Timer? _searchDebounce;
|
||||||
|
|
||||||
|
@override
|
||||||
void dispose() {
|
void dispose() {
|
||||||
_searchDebounce?.cancel();
|
_searchDebounce?.cancel();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -58,7 +58,7 @@ class MerchantListView extends StatelessWidget {
|
|||||||
padding: EdgeInsets.fromLTRB(16, 8, 16, bottomInset + 16),
|
padding: EdgeInsets.fromLTRB(16, 8, 16, bottomInset + 16),
|
||||||
physics: const AlwaysScrollableScrollPhysics(),
|
physics: const AlwaysScrollableScrollPhysics(),
|
||||||
itemCount: merchants.length + (hasMore ? 1 : 0),
|
itemCount: merchants.length + (hasMore ? 1 : 0),
|
||||||
separatorBuilder: (_, __) => const SizedBox(height: 10),
|
separatorBuilder: (_, _) => const SizedBox(height: 10),
|
||||||
itemBuilder: (context, index) {
|
itemBuilder: (context, index) {
|
||||||
if (index >= merchants.length) {
|
if (index >= merchants.length) {
|
||||||
return _PaginationFooter(
|
return _PaginationFooter(
|
||||||
|
|||||||
@ -424,7 +424,7 @@ class _TerminalNextScreenState extends ConsumerState<TerminalNextScreen> {
|
|||||||
padding: EdgeInsets.fromLTRB(16, 0, 16, bottomInset + 16),
|
padding: EdgeInsets.fromLTRB(16, 0, 16, bottomInset + 16),
|
||||||
sliver: SliverList.separated(
|
sliver: SliverList.separated(
|
||||||
itemCount: items.length + (hasFooter ? 1 : 0),
|
itemCount: items.length + (hasFooter ? 1 : 0),
|
||||||
separatorBuilder: (_, __) => const SizedBox(height: 10),
|
separatorBuilder: (_, _) => const SizedBox(height: 10),
|
||||||
itemBuilder: (context, index) {
|
itemBuilder: (context, index) {
|
||||||
if (index >= items.length) {
|
if (index >= items.length) {
|
||||||
return _TransactionPaginationFooter(
|
return _TransactionPaginationFooter(
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
import 'dart:typed_data';
|
|
||||||
|
|
||||||
import 'package:e_receipt_mobile/domain/entities/terminal.dart';
|
import 'package:e_receipt_mobile/domain/entities/terminal.dart';
|
||||||
import 'package:e_receipt_mobile/domain/entities/transaction_record.dart';
|
import 'package:e_receipt_mobile/domain/entities/transaction_record.dart';
|
||||||
|
|||||||
@ -1,6 +1,3 @@
|
|||||||
import 'dart:convert';
|
|
||||||
import 'dart:math';
|
|
||||||
import 'dart:ui';
|
|
||||||
|
|
||||||
import 'package:e_receipt_mobile/domain/entities/terminal.dart';
|
import 'package:e_receipt_mobile/domain/entities/terminal.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
@ -56,7 +53,7 @@ class TerminalListView extends StatelessWidget {
|
|||||||
padding: EdgeInsets.fromLTRB(16, 8, 16, bottomInset + 16),
|
padding: EdgeInsets.fromLTRB(16, 8, 16, bottomInset + 16),
|
||||||
physics: const AlwaysScrollableScrollPhysics(),
|
physics: const AlwaysScrollableScrollPhysics(),
|
||||||
itemCount: terminals.length,
|
itemCount: terminals.length,
|
||||||
separatorBuilder: (_, __) => const SizedBox(height: 10),
|
separatorBuilder: (_, _) => const SizedBox(height: 10),
|
||||||
itemBuilder: (context, index) {
|
itemBuilder: (context, index) {
|
||||||
final terminal = terminals[index];
|
final terminal = terminals[index];
|
||||||
print('this is terminal ${terminal.status}');
|
print('this is terminal ${terminal.status}');
|
||||||
|
|||||||
BIN
release_key
Normal file
BIN
release_key
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user