Skip to content

Commit

Permalink
Add Telegram
Browse files Browse the repository at this point in the history
  • Loading branch information
spookey committed Feb 9, 2024
1 parent ddaa53e commit 326f547
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/components/ActionButtons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ export default {
'fa-solid fa-sms',
`sms:${this.number}`,
),
telegram: make(
'Telegram',
'fa-brands fa-telegram',
`tg://resolve?phone=${this.countryCallingCode}${this.nationalNumber}`,
),
viber: make(
'Viber',
'fa-brands fa-viber',
Expand Down
2 changes: 2 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
import {
faSignalMessenger,
faSkype,
faTelegram,
faViber,
faWhatsapp,
} from '@fortawesome/free-brands-svg-icons';
Expand All @@ -28,6 +29,7 @@ library.add(
faSignalMessenger,
faSkype,
faSms,
faTelegram,
faTrash,
faViber,
faWhatsapp,
Expand Down
2 changes: 1 addition & 1 deletion src/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default (name) => {
'phone', 'sip', 'sms', 'fax',
],
buttonsRight: [
'whatsapp', 'signal', 'viber', 'skype',
'whatsapp', 'telegram', 'signal', 'viber', 'skype',
],
defaultCountry: 'NL',
};
Expand Down

0 comments on commit 326f547

Please sign in to comment.