-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes the iOS issue that prevented play after a period of time.
- Loading branch information
1 parent
44de718
commit 62c7c9f
Showing
7 changed files
with
111 additions
and
8 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
23 changes: 23 additions & 0 deletions
23
Chavah.NetCore/wwwroot/js/Controllers/AdminIOSLogsController.ts
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,23 @@ | ||
namespace BitShuva.Chavah { | ||
export class AdminIOSLogsController { | ||
|
||
static $inject = [ | ||
"iosAudioPlayer" | ||
]; | ||
|
||
iOSLogs = ""; | ||
|
||
constructor(private readonly iosAudioPlayer: IOSAudioPlayer) { | ||
} | ||
|
||
$onInit() { | ||
this.refreshLogs(); | ||
} | ||
|
||
refreshLogs() { | ||
this.iOSLogs = this.iosAudioPlayer.logs.join("\r\r"); | ||
} | ||
} | ||
|
||
App.controller("AdminIOSLogsController", AdminIOSLogsController); | ||
} |
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,20 @@ | ||
<section class="admin-page" ng-controller="AdminIOSLogsController as vm"> | ||
<div class="row"> | ||
<div class="col-xs-12 col-sm-offset-1 col-sm-10"> | ||
<div class="row"> | ||
<div class="col-xs-12 col-sm-3"> | ||
<div ng-include="Partials.adminSidebar" ng-init="adminPage = 'ioslogs'"></div> | ||
</div> | ||
|
||
<div class="col-sm-9"> | ||
<button ng-click="vm.refreshLogs()">Refresh</button> | ||
<br /> | ||
<br /> | ||
|
||
<textarea ng-model="vm.iOSLogs" style="height: 500px; width: 100%;"></textarea> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
|
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
Binary file not shown.