-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #333 from vicolo-dev/release/0.6.0
Merge changes form release
- Loading branch information
Showing
143 changed files
with
3,358 additions
and
1,676 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -115,6 +115,8 @@ android { | |
} | ||
} | ||
|
||
|
||
|
||
flutter { | ||
source '../..' | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 0 additions & 31 deletions
31
android/app/src/main/kotlin/com/vicolo/chrono/DocumentPickerActivity.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import 'package:clock_app/alarm/types/alarm.dart'; | ||
import 'package:clock_app/alarm/types/alarm_event.dart'; | ||
import 'package:clock_app/common/types/list_filter.dart'; | ||
import 'package:flutter_gen/gen_l10n/app_localizations.dart'; | ||
|
||
final List<ListSortOption<AlarmEvent>> alarmEventSortOptions = [ | ||
ListSortOption((context) => "Earlies start date", sortStartDateAscending), | ||
ListSortOption((context) => "Latest start date", sortStartDateDescending), | ||
ListSortOption((context) => "Earlies event date", sortEventDateAscending), | ||
ListSortOption((context) => "Latest event date", sortEventDateDescending), | ||
]; | ||
|
||
int sortStartDateAscending(AlarmEvent a, AlarmEvent b) { | ||
return a.startDate.compareTo(b.startDate); | ||
} | ||
|
||
int sortStartDateDescending(AlarmEvent a, AlarmEvent b) { | ||
return b.startDate.compareTo(a.startDate); | ||
} | ||
|
||
int sortEventDateAscending(AlarmEvent a, AlarmEvent b) { | ||
return a.eventTime.compareTo(b.eventTime); | ||
} | ||
|
||
int sortEventDateDescending(AlarmEvent a, AlarmEvent b) { | ||
return b.eventTime.compareTo(a.eventTime); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.