Merge branch 'dev' into github
This commit is contained in:
commit
530f178f3c
3 changed files with 3 additions and 2 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue