Kasir: refresh() pakai _ensureSessionAndAuth
This commit is contained in:
@@ -197,7 +197,7 @@ class AppState extends ChangeNotifier {
|
||||
}
|
||||
|
||||
Future<void> refresh() async {
|
||||
await _ensureSession();
|
||||
await _ensureSessionAndAuth();
|
||||
await _loadProducts();
|
||||
await _loadSales();
|
||||
notifyListeners();
|
||||
|
||||
Reference in New Issue
Block a user