fix(internal): reduce sample data generation function's break duration

This commit is contained in:
Nishant Mishra
2025-11-21 11:20:08 +05:30
parent 2184a71f17
commit 7d32cbec33

View File

@@ -1,8 +1,18 @@
/*
* Copyright (c) 2025 Nishant Mishra
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
* This file is part of Tomato - a minimalist pomodoro timer for Android.
*
* Tomato is free software: you can redistribute it and/or modify it under the terms of the GNU
* General Public License as published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* Tomato is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along with Tomato.
* If not, see <https://www.gnu.org/licenses/>.
*/
package org.nsh07.pomodoro.ui.statsScreen.viewModel
@@ -175,7 +185,7 @@ class StatsViewModel(
it = it.plusDays(1)
}
statRepository.addBreakTime((0..30 * 60 * 60 * 1000L).random())
statRepository.addBreakTime((0..30 * 60 * 1000L).random())
}
}
}