1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-16 16:56:46 +01:00

merge main

This commit is contained in:
martabal 2024-01-19 16:12:05 +01:00
commit c8f2b0d2c2
No known key found for this signature in database
GPG key ID: C00196E3148A52BD
8 changed files with 40 additions and 40 deletions

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "machine-learning"
version = "1.93.0"
version = "1.93.1"
description = ""
authors = ["Hau Tran <alex.tran1502@gmail.com>"]
readme = "README.md"

View file

@ -36,7 +36,7 @@ platform :android do
build_type: 'Release',
properties: {
"android.injected.version.code" => 118,
"android.injected.version.name" => "1.93.0",
"android.injected.version.name" => "1.93.1",
}
)
upload_to_play_store(skip_upload_apk: true, skip_upload_images: true, skip_upload_screenshots: true, aab: '../build/app/outputs/bundle/release/app-release.aab')

View file

@ -19,7 +19,7 @@ platform :ios do
desc "iOS Beta"
lane :beta do
increment_version_number(
version_number: "1.93.0"
version_number: "1.93.1"
)
increment_build_number(
build_number: latest_testflight_build_number + 1,

View file

@ -2,7 +2,7 @@ name: immich_mobile
description: Immich - selfhosted backup media file on mobile phone
publish_to: "none"
version: 1.93.0+118
version: 1.93.1+118
isar_version: &isar_version 3.1.0+1
environment:

View file

@ -1,12 +1,12 @@
{
"name": "immich",
"version": "1.93.0",
"version": "1.93.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "immich",
"version": "1.93.0",
"version": "1.93.1",
"license": "UNLICENSED",
"dependencies": {
"@babel/runtime": "^7.22.11",

View file

@ -1,6 +1,6 @@
{
"name": "immich",
"version": "1.93.0",
"version": "1.93.1",
"description": "",
"author": "",
"private": true,

View file

@ -13,20 +13,23 @@
const dispatch = createEventDispatcher<{ toggle: boolean }>();
</script>
<Slider bind:checked {disabled} on:toggle={() => dispatch('toggle', checked)}>
<div class="flex h-[26px] place-items-center gap-1">
<label class="font-medium text-immich-primary dark:text-immich-dark-primary text-sm" for={title}>
{title}
</label>
{#if isEdited}
<div
transition:fly={{ x: 10, duration: 200, easing: quintOut }}
class="rounded-full bg-orange-100 px-2 text-[10px] text-orange-900"
>
Unsaved change
</div>
{/if}
</div>
<div class="flex place-items-center justify-between">
<div>
<div class="flex h-[26px] place-items-center gap-1">
<label class="font-medium text-immich-primary dark:text-immich-dark-primary text-sm" for={title}>
{title}
</label>
{#if isEdited}
<div
transition:fly={{ x: 10, duration: 200, easing: quintOut }}
class="rounded-full bg-orange-100 px-2 text-[10px] text-orange-900"
>
Unsaved change
</div>
{/if}
</div>
<p class="text-sm dark:text-immich-dark-fg">{subtitle}</p>
</Slider>
<p class="text-sm dark:text-immich-dark-fg">{subtitle}</p>
</div>
<Slider bind:checked {disabled} on:toggle={() => dispatch('toggle', checked)} />
</div>

View file

@ -8,24 +8,21 @@
const onToggle = (event: Event) => dispatch('toggle', (event.target as HTMLInputElement).checked);
</script>
<div class="flex place-items-center justify-between">
<slot name="leading" />
<label class="relative inline-block h-[10px] w-[36px] flex-none">
<input
class="disabled::cursor-not-allowed h-0 w-0 opacity-0"
type="checkbox"
bind:checked
on:click={onToggle}
{disabled}
/>
<label class="relative inline-block h-[10px] w-[36px] flex-none">
<input
class="disabled::cursor-not-allowed h-0 w-0 opacity-0"
type="checkbox"
bind:checked
on:click={onToggle}
{disabled}
/>
{#if disabled}
<span class="slider slider-disabled cursor-not-allowed" />
{:else}
<span class="slider slider-enabled cursor-pointer" />
{/if}
</label>
</div>
{#if disabled}
<span class="slider slider-disabled cursor-not-allowed" />
{:else}
<span class="slider slider-enabled cursor-pointer" />
{/if}
</label>
<style>
.slider {