feat: overall UI rework in Settings View (#53)

This commit is contained in:
Alberto Ponces
2022-09-02 14:35:25 +01:00
committed by GitHub
parent 036e8c99b3
commit 4f7b1d4520
37 changed files with 485 additions and 361 deletions

View File

@@ -27,7 +27,7 @@ class AppSelectorCard extends StatelessWidget {
padding: const EdgeInsets.symmetric(vertical: 18, horizontal: 20),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
children: <Widget>[
I18nText(
locator<PatcherViewModel>().selectedApp == null
? 'appSelectorCard.widgetTitle'
@@ -50,7 +50,7 @@ class AppSelectorCard extends StatelessWidget {
),
)
: Row(
children: [
children: <Widget>[
SizedBox(
height: 16.0,
child: ClipOval(

View File

@@ -27,7 +27,7 @@ class PatchSelectorCard extends StatelessWidget {
padding: const EdgeInsets.symmetric(vertical: 18, horizontal: 20),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
children: <Widget>[
I18nText(
locator<PatcherViewModel>().selectedPatches.isEmpty
? 'patchSelectorCard.widgetTitle'