Refactor layout code, rescale and reformat when changing level
This commit is contained in:
		@ -282,7 +282,8 @@ settings_get_layout(GSettings *settings, char **type, char **layout)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void
 | 
			
		||||
settings_update_layout(EekboardContextService *context) {
 | 
			
		||||
settings_update_layout(EekboardContextService *context)
 | 
			
		||||
{
 | 
			
		||||
    g_autofree gchar *keyboard_type = NULL;
 | 
			
		||||
    g_autofree gchar *keyboard_layout = NULL;
 | 
			
		||||
    settings_get_layout(context->priv->settings, &keyboard_type, &keyboard_layout);
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user