Hide donation button until there is a gift package
This commit is contained in:
parent
ab3d8ef415
commit
ac7310602e
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user