mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-13 13:26:43 +02:00
Replace the "Community App Sources" button with a text link in the AddAppPage for a cleaner UI.
improving interface consistency.
This commit is contained in:
@ -544,6 +544,7 @@ class AddAppPageState extends State<AddAppPage> {
|
||||
Widget getSourcesListWidget() => Padding(
|
||||
padding: const EdgeInsets.all(16),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
GestureDetector(
|
||||
onTap: () {
|
||||
@ -600,7 +601,20 @@ class AddAppPageState extends State<AddAppPage> {
|
||||
fontWeight: FontWeight.bold,
|
||||
decoration: TextDecoration.underline,
|
||||
fontStyle: FontStyle.italic),
|
||||
))
|
||||
)),
|
||||
GestureDetector(
|
||||
onTap: () {
|
||||
launchUrlString('https://apps.obtainium.imranr.dev/',
|
||||
mode: LaunchMode.externalApplication);
|
||||
},
|
||||
child: Text(
|
||||
tr('crowdsourcedConfigsShort'),
|
||||
style: const TextStyle(
|
||||
fontWeight: FontWeight.bold,
|
||||
decoration: TextDecoration.underline,
|
||||
fontStyle: FontStyle.italic),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
@ -618,12 +632,6 @@ class AddAppPageState extends State<AddAppPage> {
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: [
|
||||
ElevatedButton(onPressed:
|
||||
doingSomething ? null :
|
||||
(){
|
||||
launchUrlString('https://apps.obtainium.imranr.dev/',
|
||||
mode: LaunchMode.externalApplication);
|
||||
}, child: Text(tr('communityAppSources'))),
|
||||
getUrlInputRow(),
|
||||
const SizedBox(
|
||||
height: 16,
|
||||
|
Reference in New Issue
Block a user