Skip to content

Commit

Permalink
closes #15
Browse files Browse the repository at this point in the history
  • Loading branch information
shiv19 committed Dec 19, 2018
1 parent c7a1909 commit 69a309c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/modal-datetimepicker.android.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as app from "tns-core-modules/application";

export class ModalDatetimepicker {
datePicker;
datePicker: android.app.DatePickerDialog;
timePicker;
constructor() {}

Expand All @@ -25,7 +25,7 @@ export class ModalDatetimepicker {
if (options.startingDate) startDate = options.startingDate;

try {
let themeId = android.app.AlertDialog.THEME_DEVICE_DEFAULT_LIGHT;
let themeId = 0;
if (options.theme && options.theme === "dark") {
themeId = android.app.AlertDialog.THEME_DEVICE_DEFAULT_DARK;
}
Expand Down
2 changes: 1 addition & 1 deletion src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nativescript-modal-datetimepicker",
"version": "1.1.11",
"version": "1.1.12",
"description": "A nice looking modal date time picker.",
"main": "modal-datetimepicker",
"typings": "index.d.ts",
Expand Down

0 comments on commit 69a309c

Please sign in to comment.