on master help sign in
Replace back button text with left.png icon
commit770445558ecdd1ba279ff93d806e305c3347498c authoriko <mail@iko.soy> dateSat 18 Apr 2026, 09:14 (6 months ago) parent0ff7467
5 files changed+14−3
client/Assets/Images/left.png client/Assets/Images/logo.png client/ViewAddContact.fs+4−1 client/ViewChat.fs+5−1 client/ViewEditProfile.fs+5−1
client/Assets/Images/left.pngnew file

Binary file not shown.

client/Assets/Images/logo.png

Binary file not shown.

client/ViewAddContact.fs+4−1
@@ -19,7 +19,10 @@ module ViewAddContact =
1919 ScrollViewer(
2020 (VStack(16.) {
2121 HStack(8.) {
22− Button("< Back", SetPage Conversations)
22+ Image("avares://Skrepka/Assets/Images/left.png", Stretch.Uniform)
23+ .width(24.)
24+ .height(24.)
25+ .onTapped (fun _ -> SetPage Conversations)
2326
2427 TextBlock("Add Contact").fontSize (20.)
2528 }
client/ViewChat.fs+5−1
@@ -1,5 +1,6 @@
11namespace Skrepka
22
3+open Avalonia.Media
34open Fabulous.Avalonia
45
56open type Fabulous.Avalonia.View
@@ -15,7 +16,10 @@ module ViewChat =
1516
1617 (VStack(8.) {
1718 HStack(8.) {
18− Button("< Back", SetPage Conversations)
19+ Image("avares://Skrepka/Assets/Images/left.png", Stretch.Uniform)
20+ .width(24.)
21+ .height(24.)
22+ .onTapped (fun _ -> SetPage Conversations)
1923
2024 TextBlock(name).fontSize(20.).centerVertical ()
2125 }
client/ViewEditProfile.fs+5−1
@@ -34,7 +34,11 @@ module ViewEditProfile =
3434
3535 let bar =
3636 HStack(8.) {
37− (button Secondary "back" (SetPage Settings)).margin (8.)
37+ Image("avares://Skrepka/Assets/Images/left.png", Stretch.Uniform)
38+ .width(24.)
39+ .height(24.)
40+ .margin(8.)
41+ .onTapped (fun _ -> SetPage Settings)
3842 (button Secondary "save" DoSaveProfile).margin (8.)
3943 }
4044