mirror of
https://github.com/immich-app/immich.git
synced 2025-12-18 01:11:07 +03:00
chore: bump line length to 120 (#20191)
This commit is contained in:
@@ -20,8 +20,7 @@ class SslClientCertSettings extends StatefulWidget {
|
||||
}
|
||||
|
||||
class _SslClientCertSettingsState extends State<SslClientCertSettings> {
|
||||
_SslClientCertSettingsState()
|
||||
: isCertExist = SSLClientCertStoreVal.load() != null;
|
||||
_SslClientCertSettingsState() : isCertExist = SSLClientCertStoreVal.load() != null;
|
||||
|
||||
bool isCertExist;
|
||||
|
||||
@@ -62,9 +61,7 @@ class _SslClientCertSettingsState extends State<SslClientCertSettings> {
|
||||
width: 15,
|
||||
),
|
||||
ElevatedButton(
|
||||
onPressed: widget.isLoggedIn || !isCertExist
|
||||
? null
|
||||
: () => removeCert(context),
|
||||
onPressed: widget.isLoggedIn || !isCertExist ? null : () => removeCert(context),
|
||||
child: Text("remove".tr()),
|
||||
),
|
||||
],
|
||||
@@ -127,8 +124,7 @@ class _SslClientCertSettingsState extends State<SslClientCertSettings> {
|
||||
),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () =>
|
||||
{ctx.pop(), storeCert(context, data, password.text)},
|
||||
onPressed: () => {ctx.pop(), storeCert(context, data, password.text)},
|
||||
child: Text("client_cert_dialog_msg_confirm".tr()),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user