6
6
import App.Types
7
7
import qualified App.Widgets.Fav as Fav
8
8
import qualified App.Widgets.Templates as Templates
9
+ import qualified Functora.Miso.Css as Css
9
10
import qualified Functora.Miso.Jsm as Jsm
10
11
import Functora.Miso.Prelude
11
12
import qualified Functora.Miso.Widgets.BrowserLink as BrowserLink
@@ -151,7 +152,7 @@ menu st =
151
152
)
152
153
& Button. setAttributes
153
154
[ Theme. secondaryBg,
154
- class_ " fill "
155
+ Css. fullWidth
155
156
]
156
157
)
157
158
$ if isQrCode sc
@@ -174,7 +175,7 @@ menu st =
174
175
)
175
176
& Button. setAttributes
176
177
[ Theme. secondaryBg,
177
- class_ " fill "
178
+ Css. fullWidth
178
179
]
179
180
)
180
181
" Note" ,
@@ -283,7 +284,7 @@ menu st =
283
284
( Button. config
284
285
& Button. setOnClick closed
285
286
& Button. setIcon (Just " arrow_back" )
286
- & Button. setAttributes [class_ " fill " ]
287
+ & Button. setAttributes [Css. fullWidth ]
287
288
)
288
289
" Back"
289
290
]
@@ -351,7 +352,7 @@ linksWidget st =
351
352
( Button. config
352
353
& Button. setOnClick openWidget
353
354
& Button. setIcon (Just " android" )
354
- & Button. setAttributes [class_ " fill " ]
355
+ & Button. setAttributes [Css. fullWidth ]
355
356
)
356
357
" App"
357
358
]
@@ -407,7 +408,7 @@ linksWidget st =
407
408
& Button. setOnClick (openBrowser testGroupLink)
408
409
& Button. setAttributes
409
410
[ Theme. secondaryBg,
410
- class_ " fill "
411
+ Css. fullWidth
411
412
]
412
413
)
413
414
" Join testing (closed beta)" ,
@@ -418,7 +419,7 @@ linksWidget st =
418
419
& Button. setOnClick (openBrowser googlePlayLink)
419
420
& Button. setAttributes
420
421
[ Theme. secondaryBg,
421
- class_ " fill "
422
+ Css. fullWidth
422
423
]
423
424
)
424
425
" Google Play (closed beta)" ,
@@ -429,7 +430,7 @@ linksWidget st =
429
430
& Button. setOnClick (openBrowser apkLink)
430
431
& Button. setAttributes
431
432
[ Theme. secondaryBg,
432
- class_ " fill "
433
+ Css. fullWidth
433
434
]
434
435
)
435
436
" Download APK" ,
@@ -440,7 +441,7 @@ linksWidget st =
440
441
& Button. setOnClick (openBrowser sourceLink)
441
442
& Button. setAttributes
442
443
[ Theme. secondaryBg,
443
- class_ " fill "
444
+ Css. fullWidth
444
445
]
445
446
)
446
447
" Source" ,
@@ -451,7 +452,7 @@ linksWidget st =
451
452
& Button. setOnClick (openBrowser functoraLink)
452
453
& Button. setAttributes
453
454
[ Theme. secondaryBg,
454
- class_ " fill "
455
+ Css. fullWidth
455
456
]
456
457
)
457
458
" Author" ,
@@ -476,7 +477,7 @@ linksWidget st =
476
477
)
477
478
& Button. setAttributes
478
479
[ Theme. secondaryBg,
479
- class_ " fill "
480
+ Css. fullWidth
480
481
]
481
482
)
482
483
" Donate" ,
@@ -485,7 +486,7 @@ linksWidget st =
485
486
( Button. config
486
487
& Button. setOnClick closeWidget
487
488
& Button. setIcon (Just " arrow_back" )
488
- & Button. setAttributes [class_ " fill " ]
489
+ & Button. setAttributes [Css. fullWidth ]
489
490
)
490
491
" Back"
491
492
]
0 commit comments