Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LibreHomework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HGEpro
LibreHomework
Commits
6c770987
Commit
6c770987
authored
3 years ago
by
HGEpro
Browse files
Options
Downloads
Patches
Plain Diff
fix bug in windows
parent
300d818b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/src-tauri/src/db.rs
+1
-1
1 addition, 1 deletion
app/src-tauri/src/db.rs
app/src/App.svelte
+0
-2
0 additions, 2 deletions
app/src/App.svelte
with
1 addition
and
3 deletions
app/src-tauri/src/db.rs
+
1
−
1
View file @
6c770987
...
...
@@ -11,7 +11,7 @@ impl DBManager {
conn
.execute
(
"CREATE TABLE IF NOT EXISTS Subjects (
id INTEGER PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL)"
,
[])
name TEXT
UNIQUE
NOT NULL)"
,
[])
.unwrap_or_else
(|
_
|
stop_app
(
"Error creating table Subjects"
));
conn
.execute
(
"CREATE TABLE IF NOT EXISTS Tasks (
...
...
This diff is collapsed.
Click to expand it.
app/src/App.svelte
+
0
−
2
View file @
6c770987
<script
lang=
"js"
>
import
{
invoke
}
from
"
@tauri-apps/api
"
;
import
{
fade
,
fly
,
slide
,
scale
}
from
"
svelte/transition
"
;
import
{
onMount
}
from
'
svelte
'
;
import
locales
from
"
./locales.json
"
;
import
{
ScreenLock
}
from
"
./screenlock.js
"
;
import
{
ConfigManager
,
defaultConfig
}
from
"
./configmanager.js
"
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment