-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update demo, fix tsc error, add prettier && bump that shiz
- Loading branch information
1 parent
bbb3732
commit 5b4fac1
Showing
13 changed files
with
468 additions
and
363 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
/** | ||
* Option interfaces | ||
*/ | ||
export * from './src/options'; | ||
export * from "./src/options"; | ||
|
||
/** | ||
* Player | ||
*/ | ||
export * from './src/android/player'; | ||
export * from "./src/android/player"; | ||
|
||
/** | ||
* Recorder | ||
*/ | ||
export * from './src/android/recorder'; | ||
export * from "./src/android/recorder"; |
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,15 +1,14 @@ | ||
/** | ||
* Option interfaces | ||
*/ | ||
export * from './src/options'; | ||
export * from "./src/options"; | ||
|
||
/** | ||
* Player | ||
*/ | ||
export * from './src/ios/player'; | ||
export * from "./src/ios/player"; | ||
|
||
/** | ||
* Recorder | ||
*/ | ||
export * from './src/ios/recorder'; | ||
|
||
export * from "./src/ios/recorder"; |
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,2 +1,2 @@ | ||
import * as application from 'application'; | ||
application.start({ moduleName: 'main-page' }); | ||
import * as application from "application"; | ||
application.start({ moduleName: "main-page" }); |
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,15 +1,15 @@ | ||
import * as app from 'application'; | ||
import {Color} from 'color'; | ||
import * as platform from 'platform'; | ||
import {AudioDemo} from "./main-view-model"; | ||
import * as app from "tns-core-modules/application"; | ||
import { Color } from "tns-core-modules/color"; | ||
import * as platform from "tns-core-modules/platform"; | ||
import { AudioDemo } from "./main-view-model"; | ||
|
||
function pageLoaded(args) { | ||
var page = args.object; | ||
page.bindingContext = new AudioDemo(page); | ||
|
||
if (app.android && platform.device.sdkVersion >= "21") { | ||
var window = app.android.startActivity.getWindow(); | ||
window.setNavigationBarColor(new Color("#C2185B").android); | ||
var window = app.android.startActivity.getWindow(); | ||
window.setNavigationBarColor(new Color("#C2185B").android); | ||
} | ||
} | ||
exports.pageLoaded = pageLoaded; |
Oops, something went wrong.