mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 01:45:55 +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),
|
||||
const SizedBox(height: 16.0),
|
||||
const Divider(),
|
||||
Button(
|
||||
text: "Copy Key",
|
||||
onPressed: () => _copyKeyToClipboard(context),
|
||||
Builder(
|
||||
builder: (BuildContext context) => Button(
|
||||
text: "Copy Key",
|
||||
onPressed: () => _copyKeyToClipboard(context),
|
||||
),
|
||||
),
|
||||
Button(
|
||||
text: "Regenerate Key",
|
||||
onPressed: () => _generateSshKey(context),
|
||||
Builder(
|
||||
builder: (BuildContext context) => Button(
|
||||
text: "Regenerate Key",
|
||||
onPressed: () => _generateSshKey(context),
|
||||
),
|
||||
),
|
||||
ListPreference(
|
||||
title: "Sync Frequency",
|
||||
|
Reference in New Issue
Block a user