mirror of
https://github.com/tutao/tutanota.git
synced 2025-10-19 07:53:47 +00:00
fix build
Update icon size enum & class
This commit is contained in:
parent
35debcaba5
commit
c64f8eb786
92 changed files with 346 additions and 330 deletions
|
@ -4,7 +4,7 @@ import { lang, MaybeTranslation } from "../../../misc/LanguageViewModel.js"
|
|||
import { AllIcons, Icon } from "../Icon.js"
|
||||
import { theme } from "../../theme.js"
|
||||
import { styles } from "../../styles.js"
|
||||
import { px, size } from "../../size.js"
|
||||
import { component_size, px, size } from "../../size.js"
|
||||
|
||||
export interface BubbleButtonAttrs {
|
||||
label: MaybeTranslation
|
||||
|
@ -14,7 +14,7 @@ export interface BubbleButtonAttrs {
|
|||
}
|
||||
|
||||
export function bubbleButtonHeight(): number {
|
||||
return usingMobileBubbleButton() ? size.button_height : size.button_height_bubble
|
||||
return usingMobileBubbleButton() ? component_size.button_height : component_size.button_height_bubble
|
||||
}
|
||||
|
||||
export function usingMobileBubbleButton() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue