|  | @@ -272,17 +272,6 @@ abstract class BaseActivity<DB : ViewDataBinding> : AppCompatActivity(),
 | 
	
		
			
				|  |  |          super.onConfigurationChanged(newConfig)
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -    override fun getResources(): Resources {
 | 
	
		
			
				|  |  | -        val res = super.getResources()
 | 
	
		
			
				|  |  | -        if (res.configuration.fontScale != 1f) {
 | 
	
		
			
				|  |  | -            // 非默认值
 | 
	
		
			
				|  |  | -            val newConfig = Configuration()
 | 
	
		
			
				|  |  | -            newConfig.setToDefaults() // 设置默认
 | 
	
		
			
				|  |  | -            res.updateConfiguration(newConfig, res.displayMetrics)
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | -        return res
 | 
	
		
			
				|  |  | -    }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |      var showFragment: Fragment? = null
 | 
	
		
			
				|  |  |      fun showFragment(viewId: Int, f: Fragment) {
 | 
	
		
			
				|  |  |          try {
 |