mirror of
https://github.com/XFox111/GUTSchedule.git
synced 2026-04-22 06:58:01 +03:00
- Added "Exclude military department schedule" option
This commit is contained in:
@@ -45,6 +45,9 @@ namespace GUTSchedule.Droid
|
||||
{
|
||||
foreach (Occupation item in schedule)
|
||||
{
|
||||
if (MainActivity.ExcludeMilitary && item.Name.ToLowerInvariant().Contains("военная подготовка"))
|
||||
continue;
|
||||
|
||||
ContentValues eventValues = new ContentValues();
|
||||
|
||||
eventValues.Put(CalendarContract.Events.InterfaceConsts.CalendarId, Calendars[MainActivity.SelectedCalendarIndex].Id);
|
||||
|
||||
Reference in New Issue
Block a user