Merge branch 'dev' into github

This commit is contained in:
cocobo1 2025-10-17 21:28:57 +03:00
commit 530f178f3c
3 changed files with 3 additions and 2 deletions

View file

@ -22,7 +22,6 @@ import {
} from "@metro/common/components";
import { ComponentProps } from "react";
import { View } from "react-native";
import type { BunnyPluginManifest } from "@lib/addons/plugins/types";
import { UnifiedPluginModel } from "./models";
import unifyBunnyPlugin from "./models/bunny";

View file

@ -41,7 +41,9 @@ export default function PluginInfoActionSheet({
try {
const pluginAny = plugin;
const repoUrl =
//@ts-expect-error
pluginAny._manifest?.parentRepository ||
//@ts-expect-error
pluginAny.manifest?.parentRepository;
url = repoUrl ? `${repoUrl}/builds/${plugin.id}` : plugin.id;
} catch (e) {

View file

@ -85,7 +85,7 @@ export default function patchDefinitionAndResolver() {
const fallbackValue = getRawFallback(colorDef.raw);
if (fallbackValue) {
return colorDef.opacity === 1 ? fallbackValue : chroma(fallbackValue).alpha(colorDef.opacity).hex();
return colorDef.opacity === 0 ? fallbackValue : chroma(fallbackValue).alpha(colorDef.opacity).hex();
}
// Fallback to default