That fuck shit the fascists are using
at master 31 lines 920 B view raw
1package org.tm.archive.conversation; 2 3import androidx.annotation.DrawableRes; 4import androidx.annotation.StringRes; 5 6import org.tm.archive.R; 7 8public enum AttachmentKeyboardButton { 9 10 GALLERY(R.string.AttachmentKeyboard_gallery, R.drawable.symbol_album_tilt_24), 11 FILE(R.string.AttachmentKeyboard_file, R.drawable.symbol_file_24), 12 PAYMENT(R.string.AttachmentKeyboard_payment, R.drawable.symbol_payment_24), 13 CONTACT(R.string.AttachmentKeyboard_contact, R.drawable.symbol_person_circle_24), 14 LOCATION(R.string.AttachmentKeyboard_location, R.drawable.symbol_location_circle_24); 15 16 private final int titleRes; 17 private final int iconRes; 18 19 AttachmentKeyboardButton(@StringRes int titleRes, @DrawableRes int iconRes) { 20 this.titleRes = titleRes; 21 this.iconRes = iconRes; 22 } 23 24 public @StringRes int getTitleRes() { 25 return titleRes; 26 } 27 28 public @DrawableRes int getIconRes() { 29 return iconRes; 30 } 31}