Skip to content

Commit

Permalink
Merge branch 'main' into new-instance-settings
Browse files Browse the repository at this point in the history
Signed-off-by: Geometrically <[email protected]>
  • Loading branch information
Geometrically authored Dec 18, 2024
2 parents 6e085ca + 6ceed4b commit ae58d01
Show file tree
Hide file tree
Showing 38 changed files with 1,678 additions and 2,709 deletions.
124 changes: 100 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ strip = true # Remove debug symbols

[profile.dev.package.sqlx-macros]
opt-level = 3

[patch.crates-io]
tauri = { git = "https://github.com/modrinth/tauri", rev = "9c36dd3" }
1 change: 0 additions & 1 deletion apps/app-frontend/src/components/ui/SplashScreen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ const os = ref('')
getOS().then((x) => (os.value = x))
loading_listener(async (e) => {
console.log(e)
if (e.event.type === 'directory_move') {
loadingProgress.value = 100 * (e.fraction ?? 1)
message.value = 'Updating app directory...'
Expand Down
14 changes: 0 additions & 14 deletions apps/app-frontend/src/helpers/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,3 @@ export const releaseColor = (releaseType) => {
return ''
}
}

export function debounce(fn, wait) {
let timer
return function (...args) {
if (timer) {
clearTimeout(timer) // clear any pre-existing timer
}

const context = this // get the current context
timer = setTimeout(() => {
fn.apply(context, args) // call the function if time expires
}, wait)
}
}
Loading

0 comments on commit ae58d01

Please sign in to comment.