Added Timetable.kt which was a PAIN because SQLite does not support ADD FOREIGN KEY on ALTER TABLE, and as such, the required workaround is to create a temporary table with the new constraint added, insert the values from the old table into the new table, drop the old table, and finally rename the new table to the name of the old table so that the app thinks that nothing ever happened... UGH

This commit is contained in:
denizk0461
2023-07-03 15:47:55 +02:00
parent 97b713a578
commit 694d962896
9 changed files with 480 additions and 11 deletions
-8
View File
@@ -1,8 +0,0 @@
<resources>
<style name="Theme.StudIPTimetable" parent="Base.Theme.StudIPTimetable">
<!-- Transparent system bars for edge-to-edge. -->
<item name="android:navigationBarColor">@android:color/transparent</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:windowLightStatusBar">?attr/isLightTheme</item>
</style>
</resources>