Hide donation button until there is a gift package

This commit is contained in:
Benau 2019-10-28 16:58:44 +08:00
parent ab3d8ef415
commit ac7310602e
2 changed files with 1 additions and 6 deletions

View File

@ -12,7 +12,7 @@
<spacer proportion="1" />
<button id="donate" width="fit" align="center" text="Donate to help keep SuperTuxKart going!"/>
<!--<button id="donate" width="fit" align="center" text="Donate to help keep SuperTuxKart going!"/>>
</div>

View File

@ -210,11 +210,6 @@ void CreditsScreen::loadedFromFile()
// translations should be just before the last screen
m_sections.swap( m_sections.size() - 1, m_sections.size() - 2 );
}
if (!Online::LinkHelper::isSupported())
{
getWidget("donate")->setVisible(false);
}
} // loadedFromFile
// ----------------------------------------------------------------------------