@@ -48,7 +48,7 @@ class _AboutViewState extends State<AboutView> {
48
48
height: 5 ,
49
49
),
50
50
const Text (
51
- 'version 1.0.0 ' ,
51
+ 'version 1.0.1 ' ,
52
52
style: TextStyle (fontSize: 18 ),
53
53
),
54
54
const SizedBox (
@@ -116,9 +116,69 @@ class _AboutViewState extends State<AboutView> {
116
116
],
117
117
),
118
118
),
119
- Divider (
120
- color: Theme .of (context).colorScheme.primaryContainer,
121
- thickness: 2 ,
119
+ const SizedBox (
120
+ height: 15 ,
121
+ ),
122
+ Row (
123
+ mainAxisAlignment: MainAxisAlignment .center,
124
+ children: [
125
+ Column (
126
+ children: [
127
+ Container (
128
+ padding: const EdgeInsets .all (2 ),
129
+ decoration: BoxDecoration (
130
+ color:
131
+ Theme .of (context).colorScheme.primaryContainer,
132
+ borderRadius: BorderRadius .circular (30 ),
133
+ ),
134
+ child: IconButton (
135
+ onPressed: () {
136
+ _launchUrl (
137
+ Uri .parse ('https://ko-fi.com/moaymandev' ));
138
+ },
139
+ icon: const Icon (Icons .attach_money_rounded),
140
+ tooltip: 'دعم' ,
141
+ iconSize: 33 ,
142
+ ),
143
+ ),
144
+ const SizedBox (
145
+ height: 5 ,
146
+ ),
147
+ const Text ('دعم' ),
148
+ ],
149
+ ),
150
+ const SizedBox (
151
+ width: 40 ,
152
+ ),
153
+ Column (
154
+ children: [
155
+ Container (
156
+ padding: const EdgeInsets .all (2 ),
157
+ decoration: BoxDecoration (
158
+ color:
159
+ Theme .of (context).colorScheme.primaryContainer,
160
+ borderRadius: BorderRadius .circular (30 ),
161
+ ),
162
+ child: IconButton (
163
+ onPressed: () {
164
+ _launchUrl (Uri .parse (
165
+ 'https://github.com/moaymandev/HadithSearcher' ));
166
+ },
167
+ icon: const Icon (Icons .code_rounded),
168
+ tooltip: 'الكود' ,
169
+ iconSize: 33 ,
170
+ ),
171
+ ),
172
+ const SizedBox (
173
+ height: 5 ,
174
+ ),
175
+ const Text ('الكود' ),
176
+ ],
177
+ )
178
+ ],
179
+ ),
180
+ const SizedBox (
181
+ height: 15 ,
122
182
),
123
183
Container (
124
184
margin: const EdgeInsets .all (10 ),
@@ -202,7 +262,7 @@ class _AboutViewState extends State<AboutView> {
202
262
child: const Row (
203
263
mainAxisAlignment: MainAxisAlignment .center,
204
264
children: [
205
- Text (
265
+ SelectableText (
206
266
207
267
style: TextStyle (
208
268
fontSize: 18 ,
@@ -219,6 +279,26 @@ class _AboutViewState extends State<AboutView> {
219
279
],
220
280
),
221
281
),
282
+ const SizedBox (
283
+ height: 10 ,
284
+ ),
285
+ GestureDetector (
286
+ child: const Text (
287
+ 'سياسة الخصوصية' ,
288
+ style: TextStyle (
289
+ fontSize: 18 ,
290
+ decoration: TextDecoration .underline,
291
+ color: Colors .blue,
292
+ ),
293
+ ),
294
+ onTap: () {
295
+ _launchUrl (Uri .parse (
296
+ 'https://hadith-searcher-privacy-policy.pages.dev/' ));
297
+ },
298
+ ),
299
+ const SizedBox (
300
+ height: 10 ,
301
+ ),
222
302
],
223
303
),
224
304
),
0 commit comments