-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set current date as event date when entering event in `SchedulingDial…
…og` (#3810) * Set current date as event date when entering event in `SchedulingDialog` * Remove unused variable
- Loading branch information
1 parent
4fada06
commit 3a0096e
Showing
4 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
8 changes: 7 additions & 1 deletion
8
app/src/main/java/org/dhis2/usescases/teiDashboard/dialogs/scheduling/SchedulingModule.kt
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 |
---|---|---|
@@ -1,6 +1,12 @@ | ||
package org.dhis2.usescases.teiDashboard.dialogs.scheduling | ||
|
||
import dagger.Module | ||
import dagger.Provides | ||
import org.dhis2.commons.date.DateUtils | ||
|
||
@Module | ||
class SchedulingModule | ||
class SchedulingModule { | ||
|
||
@Provides | ||
fun providesDateUtils(): DateUtils = DateUtils.getInstance() | ||
} |
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