forked from Drop-OSS/archived-drop-app
Compare commits
2 Commits
develop
...
small-fixe
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fe4f295fcd | ||
|
|
1f809063ef |
@@ -38,7 +38,7 @@
|
|||||||
>
|
>
|
||||||
<dt>
|
<dt>
|
||||||
<DisclosureButton
|
<DisclosureButton
|
||||||
class="flex w-full items-center justify-between text-left text-gray-900 dark:text-white"
|
class="flex w-full items-center justify-between text-left text-white"
|
||||||
>
|
>
|
||||||
<span class="text-sm font-semibold font-display">{{
|
<span class="text-sm font-semibold font-display">{{
|
||||||
nav.name
|
nav.name
|
||||||
@@ -73,9 +73,9 @@
|
|||||||
alt=""
|
alt=""
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="truncate inline-flex items-center gap-x-2">
|
<div class="flex flex-col gap-x-2">
|
||||||
<p
|
<p
|
||||||
class="text-sm whitespace-nowrap font-display font-semibold"
|
class="truncate text-sm whitespace-nowrap font-display font-semibold"
|
||||||
>
|
>
|
||||||
{{ item.label }}
|
{{ item.label }}
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -106,8 +106,8 @@ pub fn auth_initiate_logic(mode: String) -> Result<String, RemoteAccessError> {
|
|||||||
name: format!("{} (Desktop)", hostname.display()),
|
name: format!("{} (Desktop)", hostname.display()),
|
||||||
platform: env::consts::OS.to_string(),
|
platform: env::consts::OS.to_string(),
|
||||||
capabilities: HashMap::from([
|
capabilities: HashMap::from([
|
||||||
("PeerAPI".to_owned(), CapabilityConfiguration {}),
|
("peerAPI".to_owned(), CapabilityConfiguration {}),
|
||||||
("CloudSaves".to_owned(), CapabilityConfiguration {}),
|
("cloudSaves".to_owned(), CapabilityConfiguration {}),
|
||||||
]),
|
]),
|
||||||
mode,
|
mode,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -224,11 +224,6 @@ pub async fn fetch_game_version_options_logic(
|
|||||||
return Err(RemoteAccessError::InvalidResponse(err));
|
return Err(RemoteAccessError::InvalidResponse(err));
|
||||||
}
|
}
|
||||||
|
|
||||||
let raw = response.text().await?;
|
|
||||||
info!("{}", raw);
|
|
||||||
|
|
||||||
return Err(RemoteAccessError::CorruptedState);
|
|
||||||
|
|
||||||
let data: Vec<GameVersion> = response.json().await?;
|
let data: Vec<GameVersion> = response.json().await?;
|
||||||
|
|
||||||
let state_lock = state.lock();
|
let state_lock = state.lock();
|
||||||
|
|||||||
Reference in New Issue
Block a user