mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-29 13:27:31 -07:00
Consistent styling
This commit is contained in:
parent
88e839bf00
commit
e448e11082
2 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "calckey",
|
"name": "calckey",
|
||||||
"version": "12.119.0-calc.18-rc.10",
|
"version": "12.119.0-calc.18-rc.11",
|
||||||
"codename": "aqua",
|
"codename": "aqua",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -58,6 +58,7 @@ const renote = async (viaKeyboard = false, ev?: MouseEvent) => {
|
||||||
let buttonActions = [{
|
let buttonActions = [{
|
||||||
text: i18n.ts.renote,
|
text: i18n.ts.renote,
|
||||||
icon: 'ph-repeat-bold ph-lg',
|
icon: 'ph-repeat-bold ph-lg',
|
||||||
|
danger: false,
|
||||||
action: () => {
|
action: () => {
|
||||||
os.api('notes/create', {
|
os.api('notes/create', {
|
||||||
renoteId: props.note.id,
|
renoteId: props.note.id,
|
||||||
|
@ -83,7 +84,8 @@ const renote = async (viaKeyboard = false, ev?: MouseEvent) => {
|
||||||
if (hasRenotedBefore) {
|
if (hasRenotedBefore) {
|
||||||
buttonActions.push({
|
buttonActions.push({
|
||||||
text: i18n.ts.unrenote,
|
text: i18n.ts.unrenote,
|
||||||
icon: 'ph-eraser-bold ph-lg',
|
icon: 'ph-trash-bold ph-lg',
|
||||||
|
danger: true,
|
||||||
action: () => {
|
action: () => {
|
||||||
os.api('notes/unrenote', {
|
os.api('notes/unrenote', {
|
||||||
noteId: props.note.id,
|
noteId: props.note.id,
|
||||||
|
@ -95,6 +97,7 @@ const renote = async (viaKeyboard = false, ev?: MouseEvent) => {
|
||||||
buttonActions.push({
|
buttonActions.push({
|
||||||
text: i18n.ts.quote,
|
text: i18n.ts.quote,
|
||||||
icon: 'ph-quotes-bold ph-lg',
|
icon: 'ph-quotes-bold ph-lg',
|
||||||
|
danger: false,
|
||||||
action: () => {
|
action: () => {
|
||||||
os.post({
|
os.post({
|
||||||
renote: props.note,
|
renote: props.note,
|
||||||
|
|
Loading…
Reference in a new issue