Add FFlag mod preset for mobile Lua app interface

lol
This commit is contained in:
pizzaboxer 2023-04-21 18:42:46 +01:00
parent 8dde69d580
commit f28d956367
No known key found for this signature in database
GPG Key ID: 59D4A1DBAD0F2BA8
2 changed files with 16 additions and 0 deletions

View File

@ -114,6 +114,12 @@ namespace Bloxstrap.ViewModels
set => App.FastFlags.SetValue("FFlagFixGraphicsQuality", value ? "True" : null); set => App.FastFlags.SetValue("FFlagFixGraphicsQuality", value ? "True" : null);
} }
public bool MobileLuaAppInterfaceEnabled
{
get => App.FastFlags.GetValue("FFlagLuaAppSystemBar") == "False";
set => App.FastFlags.SetValue("FFlagLuaAppSystemBar", value ? "False" : null);
}
public bool DisableFullscreenOptimizationsEnabled public bool DisableFullscreenOptimizationsEnabled
{ {
get => App.Settings.Prop.DisableFullscreenOptimizations; get => App.Settings.Prop.DisableFullscreenOptimizations;

View File

@ -102,6 +102,7 @@
<RowDefinition Height="*" /> <RowDefinition Height="*" />
<RowDefinition Height="*" /> <RowDefinition Height="*" />
<RowDefinition Height="*" /> <RowDefinition Height="*" />
<RowDefinition Height="*" />
</Grid.RowDefinitions> </Grid.RowDefinitions>
<ui:CardControl Grid.Row="0" Margin="0,8,0,0" Padding="16,13,16,12"> <ui:CardControl Grid.Row="0" Margin="0,8,0,0" Padding="16,13,16,12">
@ -149,6 +150,15 @@
</ui:CardControl.Header> </ui:CardControl.Header>
<ComboBox Margin="5,0,0,0" Padding="10,5,10,5" Width="200" ItemsSource="{Binding IGMenuVersions.Keys, Mode=OneTime}" Text="{Binding SelectedIGMenuVersion, Mode=TwoWay}" /> <ComboBox Margin="5,0,0,0" Padding="10,5,10,5" Width="200" ItemsSource="{Binding IGMenuVersions.Keys, Mode=OneTime}" Text="{Binding SelectedIGMenuVersion, Mode=TwoWay}" />
</ui:CardControl> </ui:CardControl>
<ui:CardControl Grid.Row="5" Margin="0,8,0,0" Padding="16,13,16,12">
<ui:CardControl.Header>
<StackPanel>
<TextBlock FontSize="14" Text="Use mobile interface in desktop app" />
<TextBlock Margin="0,2,0,0" FontSize="12" Text="Why would you want to do this? I don't know. But like, why not?" Foreground="{DynamicResource TextFillColorTertiaryBrush}" />
</StackPanel>
</ui:CardControl.Header>
<ui:ToggleSwitch IsChecked="{Binding MobileLuaAppInterfaceEnabled, Mode=TwoWay}" />
</ui:CardControl>
</Grid> </Grid>
<StackPanel x:Name="MiscellaneousOptions"> <StackPanel x:Name="MiscellaneousOptions">