sync page
This commit is contained in:
@@ -406,7 +406,7 @@ class ProductLocalDataProvider {
|
||||
|
||||
Future<double> _getDatabaseSize() async {
|
||||
try {
|
||||
final dbPath = p.join(await getDatabasesPath(), 'db_pos.db');
|
||||
final dbPath = p.join(await getDatabasesPath(), AppConstant.dbName);
|
||||
final file = File(dbPath);
|
||||
if (await file.exists()) {
|
||||
final size = await file.length();
|
||||
|
||||
Reference in New Issue
Block a user