mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-30 03:19:11 +08:00
GitRemoteSettings: Pass the correct context
The scaffold doesn't exist in that context :(
This commit is contained in:
@ -45,13 +45,17 @@ class _GitRemoteSettingsScreenState extends State<GitRemoteSettingsScreen> {
|
|||||||
PublicKeyWidget(publicKey),
|
PublicKeyWidget(publicKey),
|
||||||
const SizedBox(height: 16.0),
|
const SizedBox(height: 16.0),
|
||||||
const Divider(),
|
const Divider(),
|
||||||
Button(
|
Builder(
|
||||||
text: "Copy Key",
|
builder: (BuildContext context) => Button(
|
||||||
onPressed: () => _copyKeyToClipboard(context),
|
text: "Copy Key",
|
||||||
|
onPressed: () => _copyKeyToClipboard(context),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
Button(
|
Builder(
|
||||||
text: "Regenerate Key",
|
builder: (BuildContext context) => Button(
|
||||||
onPressed: () => _generateSshKey(context),
|
text: "Regenerate Key",
|
||||||
|
onPressed: () => _generateSshKey(context),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
ListPreference(
|
ListPreference(
|
||||||
title: "Sync Frequency",
|
title: "Sync Frequency",
|
||||||
|
Reference in New Issue
Block a user