mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 08:32:52 +08:00
fix(android-full-screen): add correct return type (#3677)
`isImmersiveModeSupported` returns a boolean in the [android code](https://github.com/mesmotronic/cordova-plugin-fullscreen/blob/master/src/android/com/mesmotronic/plugins/FullScreenPlugin.java#L129), so it also should here.
This commit is contained in:
parent
9dd719bb07
commit
c5d606633e
@ -71,7 +71,7 @@ export class AndroidFullScreen extends IonicNativePlugin {
|
||||
* @return {Promise<void>}
|
||||
*/
|
||||
@Cordova()
|
||||
isImmersiveModeSupported(): Promise<void> {
|
||||
isImmersiveModeSupported(): Promise<boolean> {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user