Consistent styling

This commit is contained in:
thatonecalculator 2022-12-01 23:28:16 -08:00 committed by Gitea
parent 1c9255dce6
commit 3ba740bcd1
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "calckey",
"version": "12.119.0-calc.18-rc.10",
"version": "12.119.0-calc.18-rc.11",
"codename": "aqua",
"repository": {
"type": "git",

View File

@ -58,6 +58,7 @@ const renote = async (viaKeyboard = false, ev?: MouseEvent) => {
let buttonActions = [{
text: i18n.ts.renote,
icon: 'ph-repeat-bold ph-lg',
danger: false,
action: () => {
os.api('notes/create', {
renoteId: props.note.id,
@ -83,7 +84,8 @@ const renote = async (viaKeyboard = false, ev?: MouseEvent) => {
if (hasRenotedBefore) {
buttonActions.push({
text: i18n.ts.unrenote,
icon: 'ph-eraser-bold ph-lg',
icon: 'ph-trash-bold ph-lg',
danger: true,
action: () => {
os.api('notes/unrenote', {
noteId: props.note.id,
@ -95,6 +97,7 @@ const renote = async (viaKeyboard = false, ev?: MouseEvent) => {
buttonActions.push({
text: i18n.ts.quote,
icon: 'ph-quotes-bold ph-lg',
danger: false,
action: () => {
os.post({
renote: props.note,