forked from trent_larson/crowd-funder-for-time-pwa
disable SQLite in Java & Swift (since they don't compile) & add SQL queueing on startup
At this point, the app compiles and runs in Android & iOS but DB operations fail.
This commit is contained in:
@@ -42,6 +42,13 @@
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-slate-500">
|
||||
<h2 class="text-lg font-bold mb-2">Memory Logs</h2>
|
||||
<pre
|
||||
class="bg-slate-100 p-4 rounded-md overflow-x-auto whitespace-pre-wrap"
|
||||
>{{ memoryLogs.join("\n") }}</pre
|
||||
>
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
@@ -70,6 +77,7 @@ export default class LogView extends Vue {
|
||||
loading = true;
|
||||
logs: Log[] = [];
|
||||
error: string | null = null;
|
||||
memoryLogs: string[] = [];
|
||||
|
||||
async mounted() {
|
||||
await this.loadLogs();
|
||||
@@ -78,6 +86,7 @@ export default class LogView extends Vue {
|
||||
async loadLogs() {
|
||||
try {
|
||||
this.error = null; // Clear any previous errors
|
||||
this.memoryLogs = databaseUtil.memoryLogs;
|
||||
|
||||
let allLogs: Log[] = [];
|
||||
const platformService = PlatformServiceFactory.getInstance();
|
||||
|
||||
Reference in New Issue
Block a user