Skip to content

Commit 771a80f

Browse files
author
Mahdi
committed
Remove a test calculation in bytes of kerio balance
1 parent ab251c1 commit 771a80f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bloc.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ class AppBloc with AppSystemTray {
258258
await AppSharedPreferences.setKerioLowBalanceToastDate(today.toIso8601String());
259259
}
260260

261-
if (remaining < 1073741824 * 10 && lowBalanceToastCount < 2) {
261+
if (remaining < 1073741824 && lowBalanceToastCount < 2) {
262262
WinToast.instance().showToast(type: ToastType.text01, title: 'Less than 1 GB is left in your kerio account!');
263263
await AppSharedPreferences.setKerioLowBalanceToastCount(lowBalanceToastCount + 1);
264264
await AppSharedPreferences.setKerioLowBalanceToastDate(today.toIso8601String());

0 commit comments

Comments
 (0)