Show file dialog option only on Linux

This commit is contained in:
Eric Kotato 2021-03-31 23:26:33 +03:00
parent e26085b627
commit 273200adbf

View file

@ -466,6 +466,7 @@ void SetupKotatoSystem(
}
#endif // !DESKTOP_APP_DISABLE_GTK_INTEGRATION
if (Platform::IsLinux()) {
AddButtonWithLabel(
container,
tr::ktg_settings_file_dialog_type(),
@ -483,6 +484,7 @@ void SetupKotatoSystem(
::Kotato::JsonSettings::Write();
}, false));
});
}
if (Platform::IsMac()) {
const auto useNativeDecorationsToggled = Ui::CreateChild<rpl::event_stream<bool>>(