Skip to content

Commit 55709cd

Browse files
committed
Added code to disable coffee based on value in fickles.
1 parent bf7fc01 commit 55709cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/Aneejian.PowerPoint.Downsizer.AddIn

src/Aneejian.PowerPoint.Downsizer.AddIn/Ribbon.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public bool GetUpdateVisibility(Office.IRibbonControl control)
166166

167167
public bool GetCoffeeVisibility(Office.IRibbonControl control)
168168
{
169-
return settings.Ribbon_ShowCoffeeButton;
169+
return settings.Ribbon_ShowCoffeeButton && Fickles.EnableCoffee;
170170
}
171171

172172
public object GetLabel(Office.IRibbonControl control)

0 commit comments

Comments
 (0)