Fix a nasty GPUI button
Dadoum

Dadoum commited on 2026-07-09 23:45:12
Showing 1 changed files, with 7 additions and 1 deletions.

... ...
@@ -682,13 +682,19 @@ fn android_coreadi_apk_link(disabled: bool, cx: &mut Context<SettingsWindow>) ->
682 682
                 .when(disabled, |this| this.opacity(0.45).tab_stop(false))
683 683
                 .when(!disabled, |this| {
684 684
                     this.cursor_pointer()
685
-                        .hover(|style| style.text_color(rgb(0x173f45)))
686 685
                         .on_click(cx.listener(SettingsWindow::select_coreadi_apk))
687 686
                 })
688 687
                 .child(
689 688
                     div()
689
+                        .size_full()
690 690
                         .text_xs()
691 691
                         .font_weight(FontWeight::SEMIBOLD)
692
+                        .text_color(rgb(0x0f6f7a))
693
+                        .when(!disabled, |this| {
694
+                            this.hover(|style| style.text_color(rgb(0x173f45)))
695
+                        })
696
+                        .flex()
697
+                        .items_center()
692 698
                         .child("Select APK from the disk..."),
693 699
                 ),
694 700
         )
695 701